Package-level declarations
Types
Link copied to clipboard
data class ComputedRule(val selector: String, val specificity: CssSpecificity, val declarations: List<Declaration>) : Comparable<ComputedRule>
Link copied to clipboard
abstract class SvgChildNode<out T : SvgNode, XmlChildNode>(parent: XmlParentNode) : XmlChildNode, SvgNode
Link copied to clipboard
typealias SvgChildNodeConstructorFn<T> = (parent: XmlParentNode, attributes: MutableMap<String, String>) -> T
Link copied to clipboard
class SvgCircleNode(parent: XmlParentNode, attributes: MutableMap<String, String>) : SvgGraphicNode<SvgCircleNode> , SvgNode
Link copied to clipboard
class SvgClipPath(parent: XmlParentNode, val children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgElementNode<SvgClipPath> , SvgNode
Link copied to clipboard
class SvgDefsNode(parent: XmlParentNode, val children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgElementNode<SvgDefsNode> , SvgNode
Link copied to clipboard
abstract class SvgElementNode<out T : SvgNode, XmlParentNode>(parent: XmlParentNode, val children: MutableSet<XmlNode>, val attributes: MutableMap<String, String>, val tagName: String) : XmlElementNode, SvgNode
Link copied to clipboard
typealias SvgElementNodeConstructorFn<T> = (parent: XmlParentNode, children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) -> T
Link copied to clipboard
class SvgEllipseNode(parent: XmlParentNode, attributes: MutableMap<String, String>) : SvgGraphicNode<SvgEllipseNode>
Link copied to clipboard
class SvgGradientStopNode(parent: XmlParentNode, val attributes: MutableMap<String, String>) : SvgChildNode<SvgGradientStopNode> , SvgNode
Represents an <stop> element of an SVG linearGradient or radialGradient element.
Link copied to clipboard
abstract class SvgGraphicNode<out T : SvgNode, XmlChildNode>(parent: XmlParentNode, val attributes: MutableMap<String, String>, val tagName: String) : SvgChildNode<T> , SvgNode
Link copied to clipboard
abstract class SvgGraphicNodeWithListOfPoints<T : SvgNode, XmlChildNode>(parent: XmlParentNode, attributes: MutableMap<String, String>, tagName: String) : SvgGraphicNode<T>
Link copied to clipboard
class SvgGroupNode(parent: XmlParentNode, val children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgElementNode<SvgGroupNode> , SvgNode
Link copied to clipboard
class SvgLinearGradientNode(parent: XmlParentNode, children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgLinearGradient<SvgLinearGradientNode> , SvgNode
Link copied to clipboard
class SvgMaskNode(parent: XmlParentNode, val children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgElementNode<SvgMaskNode> , SvgNode
Link copied to clipboard
class SvgPathNode(parent: XmlParentNode, attributes: MutableMap<String, String>) : SvgGraphicNode<SvgPathNode> , SvgNode
Link copied to clipboard
class SvgPolygonNode(parent: XmlParentNode, attributes: MutableMap<String, String>) : SvgGraphicNodeWithListOfPoints<SvgPolygonNode>
Link copied to clipboard
class SvgPolylineNode(parent: XmlParentNode, attributes: MutableMap<String, String>) : SvgGraphicNodeWithListOfPoints<SvgPolylineNode>
Link copied to clipboard
class SvgRadialGradientNode(parent: XmlParentNode, children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgRadialGradient<SvgRadialGradientNode> , SvgNode
Link copied to clipboard
class SvgRectNode(parent: XmlParentNode, attributes: MutableMap<String, String>) : SvgGraphicNode<SvgRectNode> , SvgNode
Link copied to clipboard
class SvgRootNode(parent: XmlParentNode, val children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgElementNode<SvgRootNode> , SvgNode
Represents the root node of an SVG document.
Link copied to clipboard
class SvgStyleNode(parent: XmlParentNode, val children: MutableSet<XmlNode>, val attributes: MutableMap<String, String>) : SvgElementNode<SvgStyleNode> , SvgNode
Link copied to clipboard
class SvgSymbolNode(parent: XmlParentNode, val children: MutableSet<XmlNode>, val attributes: MutableMap<String, String>) : SvgElementNode<SvgSymbolNode> , SvgNode
Link copied to clipboard
class SvgUseNode(parent: XmlParentNode, val attributes: MutableMap<String, String>, val replacement: SvgGroupNode) : SvgChildNode<SvgUseNode>
Functions
Link copied to clipboard
Link copied to clipboard
context(logger: Logger)
fun SvgPathNode.asNode(computedRules: List<ComputedRule> = emptyList(), minified: Boolean = false): ImageVectorNode
fun SvgPathNode.asNode(computedRules: List<ComputedRule> = emptyList(), minified: Boolean = false): ImageVectorNode
Link copied to clipboard
context(logger: Logger)
fun <T : SvgNode, XmlParentNode> SvgElementNode<T>.asNodes(computedRules: List<ComputedRule>, minified: Boolean): List<ImageVectorNode>
fun <T : SvgNode, XmlParentNode> SvgElementNode<T>.asNodes(computedRules: List<ComputedRule>, minified: Boolean): List<ImageVectorNode>
context(logger: Logger)
fun SvgNode.asNodes(computedRules: List<ComputedRule>, masks: List<SvgMaskNode>, minified: Boolean): List<ImageVectorNode>?
fun SvgNode.asNodes(computedRules: List<ComputedRule>, masks: List<SvgMaskNode>, minified: Boolean): List<ImageVectorNode>?
Converts the SVG node to a list of ImageVectorNode.
Link copied to clipboard
context(logger: Logger)
fun SvgClipPath.asNodeWrapper(computedRules: List<ComputedRule> = emptyList(), minified: Boolean = false): ImageVectorNode.NodeWrapper
fun SvgClipPath.asNodeWrapper(computedRules: List<ComputedRule> = emptyList(), minified: Boolean = false): ImageVectorNode.NodeWrapper
Link copied to clipboard
context(logger: Logger)
fun SvgGroupNode.flatNode(masks: List<SvgMaskNode>, computedRules: List<ComputedRule> = emptyList(), minified: Boolean = false): List<ImageVectorNode>
fun SvgGroupNode.flatNode(masks: List<SvgMaskNode>, computedRules: List<ComputedRule> = emptyList(), minified: Boolean = false): List<ImageVectorNode>
Link copied to clipboard
Calculates the stacked transform of the node by traversing up the tree and concatenating the transform attributes of the ancestors.
Link copied to clipboard
Link copied to clipboard