ImageVectorizerConfiguration Class

ImageVectorizerConfiguration class

The 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.

public class ImageVectorizerConfiguration

Constructors

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

Properties

NameDescription
BackgroundColor { get; set; }Gets or sets background color. Default value is transparent white.
ColorsLimit { get; set; }Gets or sets the maximum number of colors used to quantize an image. Default value is 25.
ImageSizeLimit { get; set; }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.
LineWidth { get; set; }Gets or sets the line width. The value of this parameter is affected by the graphics scale. Default value is 1.
PathBuilder { get; set; }Gets or sets the SVG path segments builder.
Stencil { get; set; }Gets or sets stencil effect configuration. By default, no stencil effect is applied.

See Also