SvgoPlugin
Describes a single SVGO plugin and its parameters.
Each variant maps to a specific SVGO plugin. The name property matches the plugin identifier expected by SVGO.
Inheritors
Types
Link copied to clipboard
Custom plugin that adds fill="#000" to shapes missing an explicit fill.
Link copied to clipboard
Configures path data optimization.
Link copied to clipboard
data class OverrideConvertShapeToPath(val convertArcs: Boolean, val floatPrecision: Int) : SvgoPlugin
Overrides the built-in convertShapeToPath plugin to skip shapes with stroke-dasharray (which s2c doesn't support on paths).
Link copied to clipboard
The built-in preset-default plugin bundle with specific overrides.