PathConverter class

Responsible for converting all the different svg shapes into a path.

Constructors

PathConverter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

fromCircle(XmlElement circleTag) → XmlElement
Converts a circle element into a path element.
fromElement(XmlElement element) → XmlElement?
Converts any of svg's basic shapes into a path element.
fromEllipse(XmlElement ellipseTag) → XmlElement
Converts a ellipse element into a path element.
fromLine(XmlElement lineTag) → XmlElement
Converts a line element into a path element.
fromPoly(XmlElement polylineTag, {bool isPolyline = false}) → XmlElement
Converts a polygon or polyline element into a path element. If converting a polyline, make sure to pass the isPolyline attribute as true.
fromRect(XmlElement rectTag) → XmlElement
Converts a rect element into a path element.