SvgDocument class final

An SVG document reduced to what this library needs.

Constructors

SvgDocument(IconNode elements, (double, double, double, double)? viewBox)
const

Properties

elements IconNode
The drawable geometry, in document order.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewBox → (double, double, double, double)?
(minX, minY, width, height) from the root viewBox, or from width and height when there is no viewBox. Null when the document declares neither, in which case the caller should assume the icon is already on the target grid.
final

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