SVGOptimizationOptions Class
Contents
[
Hide
]SVGOptimizationOptions class
SVGOptimizationOptions is a class for storing options for optimizing SVG documents.
public class SVGOptimizationOptions
Constructors
Name | Description |
---|---|
SVGOptimizationOptions() | Initializes a new instance of the SVGOptimizationOptions class. |
Properties
Name | Description |
---|---|
[getCleanListOfValues] | |
[setCleanListOfValues] Gets or sets the option for rounding to 3 decimal places of list numeric values in attributes. It is ’true’ by default. | |
[getCollapseGroups] | |
[setCollapseGroups] Gets or sets the option to collapse excess groups. It is ’true’ by default. | |
[getPathOptimizationOptions] | |
[setPathOptimizationOptions] Gets or sets the option SVGPathOptimizationOptions . If this option is null, then path element optimization will not be performed. | |
[getRemoveDescriptions] | |
[setRemoveDescriptions] Gets or sets the option to remove only editors content or empty elements. It is ’true’ by default. | |
[getRemoveEmptyAttributes] | |
[setRemoveEmptyAttributes] Gets or sets the option to remove attributes with empty values. It is ’true’ by default. | |
[getRemoveEmptyContainers] | |
[setRemoveEmptyContainers] Gets or sets the option to remove empty containers. It is ’true’ by default. | |
[getRemoveEmptyText] | |
[setRemoveEmptyText] Gets or sets the option to remove empty Text elements. It is ’true’ by default. | |
[getRemoveHiddenElements] | |
[setRemoveHiddenElements] Gets or sets the option to remove elements that are not visible during rendering. It is ’true’ by default. | |
[getRemoveIndentsAndLineBreaks] | |
[setRemoveIndentsAndLineBreaks] Gets or sets the option to remove line indents and breaks. It is ’true’ by default. | |
[getRemoveMetadata] | |
[setRemoveMetadata] Gets or sets the option to remove metadata. It is ’true’ by default. | |
[getRemoveUnusedDefs] | |
[setRemoveUnusedDefs] Gets of sets the option to remove the content of defs that are not displayed directly without identifiers. It is ’true’ by default. | |
[getRemoveUnusedNamespaces] | |
[setRemoveUnusedNamespaces] Gets or sets the option to remove the declaration of unused packages from the SVG element that are not used in elements or attributes. It is ’true’ by default. | |
[getRemoveUselessStrokeAndFill] | |
[setRemoveUselessStrokeAndFill] Gets of sets the option to remove unused stroke and fill attributes. It is ’true’ by default. |
See Also
- package com.aspose.html.Toolkit.Optimizers
- package Aspose.HTML