Class ImageVectorizerConfiguration
Namespace: Aspose.Svg.ImageVectorization
Assembly: Aspose.SVG.dll (25.5.0)
The Aspose.Svg.ImageVectorization.ImageVectorizerConfiguration class defines a configuration of image vectorization methods and options. The configuration is used to initialize an ImageVectorizer and provides the configuration options for vectorizing images.
[ComVisible(true)]
public class ImageVectorizerConfiguration
Inheritance
object ← ImageVectorizerConfiguration
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ImageVectorizerConfiguration()
Initializes a new instance of the Aspose.Svg.ImageVectorization.ImageVectorizerConfiguration class.
public ImageVectorizerConfiguration()
Properties
BackgroundColor
Gets or sets background color. Default value is transparent white.
public Color BackgroundColor { get; set; }
Property Value
ColorsLimit
Gets or sets the maximum number of colors used to quantize an image. Default value is 25.
public int ColorsLimit { get; set; }
Property Value
ImageSizeLimit
Gets or sets maximal dimension of image determined by multiplication image width and height. The size of the image will be scaled based on this property. Default value is 1800000.
public int ImageSizeLimit { get; set; }
Property Value
LineWidth
Gets or sets the line width. The value of this parameter is affected by the graphics scale. Default value is 1.
public float LineWidth { get; set; }
Property Value
PathBuilder
Gets or sets the SVG path segments builder.
public IPathBuilder PathBuilder { get; set; }
Property Value
Stencil
Gets or sets stencil effect configuration. By default, no stencil effect is applied.
public StencilConfiguration Stencil { get; set; }