SvgRadialGradientNode
class SvgRadialGradientNode(parent: XmlParentNode, children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) : SvgRadialGradient<SvgRadialGradientNode> , SvgNode(source)
Constructors
Link copied to clipboard
constructor(parent: XmlParentNode, children: MutableSet<XmlNode>, attributes: MutableMap<String, String>)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected open override val constructor: (parent: XmlParentNode, children: MutableSet<XmlNode>, attributes: MutableMap<String, String>) -> SvgRadialGradientNode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The transform attribute of the node.
Functions
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
Link copied to clipboard
open fun copy(parent: XmlParentNode?, children: MutableSet<SvgNode>?, attributes: Map<String, String>?): SvgRadialGradientNode
Link copied to clipboard
protected open override fun createGradientBrush(target: List<PathNodes>): ComposeBrush.Gradient.Radial
Creates a Compose gradient brush specific to the concrete gradient type.
Link copied to clipboard
Normalizes an id by removing prefixes and suffixes commonly used in SVGs.
Link copied to clipboard
Link copied to clipboard
Resolves the referenced gradient's attributes and stops, producing a copy of THIS gradient's type with merged attributes and the correct stop children.
Link copied to clipboard
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
Converts this SVG gradient definition into a Compose Brush gradient.
Link copied to clipboard