Class SVGPathOptimizationOptions

Class SVGPathOptimizationOptions

Namespace: Aspose.Html.Toolkit.Optimizers
Assembly: Aspose.HTML.dll (25.2.0)

SVGPathOptimizationOptions is a class for storing options for optimizing segments of SVG path elements.

[ComVisible(true)]
public class SVGPathOptimizationOptions

Inheritance

objectSVGPathOptimizationOptions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

SVGPathOptimizationOptions()

Initializes a new instance of the Aspose.Html.Toolkit.Optimizers.SVGPathOptimizationOptions class.

public SVGPathOptimizationOptions()

Properties

ApplyTransforms

Gets or sets the option to apply transformations to the Path segments. It is ‘false’ by default.

public bool ApplyTransforms { get; set; }

Property Value

bool

ArcBuildingThreshold

Gets or sets the parameter value used as the threshold error for replacing Bezier segments with arc segments. It is ‘2.5’ by default.

public float ArcBuildingThreshold { get; set; }

Property Value

float

ArcBuildingTolerance

Gets or sets the parameter value used as the percentage of radius for replacing Bezier segments with arc segments. It is ‘0.5’ by default.

public float ArcBuildingTolerance { get; set; }

Property Value

float

FloatPrecision

Gets or sets the option to round a float-precision floating-point value to a specified number of fractional digits. It is ‘3’ by default.

public int FloatPrecision { get; set; }

Property Value

int

RemoveSpaceAfterFlags

Gets or sets the option to remove extra space after ‘arcto’ command flags. It is ‘false’ by default.

public bool RemoveSpaceAfterFlags { get; set; }

Property Value

bool