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.
The ImageVectorizerConfiguration type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the ImageVectorizerConfiguration class. |
Properties
Property | Description |
---|---|
path_builder | Gets or sets the SVG path segments builder. |
colors_limit | Gets or sets the maximum number of colors used to quantize an image. Default value is 25. |
image_size_limit | 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. |
line_width | Gets or sets the line width. The value of this parameter is affected by the graphics scale. Default value is 1. |
background_color | Gets or sets background color. Default value is transparent white. |
stencil | Gets or sets stencil effect configuration. By default, no stencil effect is applied. |