SvgCustomPath class abstract SVG DOM

An SVG node that lets the client specify the Path directly. This can be used with the SVG DOM API, by programmatically creating an instance of this node, and inserting it into an SVG DOM, either in a SvgGroup or into SvgDOM.root.

Implemented types

Constructors

SvgCustomPath(Path path)
Create a new custom path node.
factory

Properties

blendMode SIBlendMode?
The blend mode to use when painting a node.
getter/setter pairinherited
display bool
Is this element displayed?
getter/setter pairinherited
exportedID String?
Get the exported ID value, or null.
no setterinherited
groupAlpha int?
An alpha value to apply when painting a node and its descendants.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID value used to look up this node. See also SvgDOM.resetIDLookup.
getter/setter pairinherited
idIsExported bool
Is the ID exported? Exported IDs are specified when reading an SVG; only nodes with exported IDs will have corresponding ExportedID values.
getter/setter pairinherited
paint SvgPaint
The paint parameters to use when rendering a node.
getter/setter pairinherited
path Path
The path to draw when this node is rendered.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleClass String
The Stylesheet class value for CSS Style instances to be applied to this node.
getter/setter pairinherited
tagName String
The tag name of this node, to be used when matching CSS Style instances.
no setterinherited
textStyle SvgTextStyle
The text styling information to use when rendering a node
getter/setter pairinherited
transform MutableAffine?
Transformation(s) to apply to a node, in matrix form.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parsePath(String source) Path
Convenience method to parse a path string, producing a Flutter Path. See PathParser for details on parsing.