SVGPathOptimizationOptions Class

SVGPathOptimizationOptions class

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

public class SVGPathOptimizationOptions

Constructors

NameDescription
SVGPathOptimizationOptions()Initializes a new instance of the SVGPathOptimizationOptions class.

Properties

NameDescription
ApplyTransforms { get; set; }Gets or sets the option to apply transformations to the Path segments. It is ‘false’ by default.
ArcBuildingThreshold { get; set; }Gets or sets the parameter value used as the threshold error for replacing Bezier segments with arc segments. It is ‘2.5’ by default.
ArcBuildingTolerance { get; set; }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.
FloatPrecision { get; set; }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.
RemoveSpaceAfterFlags { get; set; }Gets or sets the option to remove extra space after ‘arcto’ command flags. It is ‘false’ by default.

See Also