SVGOptimizer Class

SVGOptimizer class

SVGOptimizer is a static class designed to optimize SVG documents. By optimization, we mean removing unused or invisible elements and their attributes, merging groups, and reducing the size of path segments.

public static class SVGOptimizer

Methods

NameDescription
static Optimize(SVGDocument)Optimizes SVGDocument by applying a set of default optimization options.
static Optimize(SVGDocument, SVGOptimizationOptions)Optimizes SVGDocument by applying a set of specified optimization options.

See Also