asNodes

context(logger: Logger)
fun <T : SvgNode, XmlParentNode> SvgElementNode<T>.asNodes(computedRules: List<ComputedRule>, minified: Boolean): List<ImageVectorNode>(source)


context(logger: Logger)
fun SvgNode.asNodes(computedRules: List<ComputedRule>, masks: List<SvgMaskNode>, minified: Boolean): List<ImageVectorNode>?(source)

Converts the SVG node to a list of ImageVectorNode.

Return

A list of ImageVectorNode representing the SVG node. Returns null if the node is not supported.

Parameters

masks

The list of masks defined in the SVG.

minified

Whether to minify the output.