SVGLoaderParser class

Constructors

SVGLoaderParser(String text, {num defaultDPI = 90, String defaultUnit = "px"})
SVGLoaderParser.parser()

Properties

currentTransform Matrix3
getter/setter pair
defaultDPI num
getter/setter pair
defaultUnit String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
paths List<ShapePath>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stylesheets Map
getter/setter pair
tempTransform0 Matrix3
getter/setter pair
tempTransform1 Matrix3
getter/setter pair
tempTransform2 Matrix3
getter/setter pair
tempTransform3 Matrix3
getter/setter pair
tempV2 Vector2
getter/setter pair
tempV3 Vector3
getter/setter pair
transformStack List
getter/setter pair
unitConversion Map<String, Map<String, num>>
getter/setter pair
units List<String>
getter/setter pair
xml XmlDocument
getter/setter pair

Methods

getNodeTransform(dynamic node) → dynamic
getReflection(dynamic a, dynamic b) → dynamic
getTransformScaleX(dynamic m) → dynamic
getTransformScaleY(dynamic m) → dynamic
isTransformRotated(dynamic m) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(dynamic text) SVGData
parseArcCommand(dynamic path, dynamic rx, dynamic ry, dynamic xAxisRotation, dynamic largeArcFlag, dynamic sweepFlag, dynamic start, dynamic end) → dynamic
  • https://www.w3.org/TR/SVG/implnote.html#ArcImplementationNotes
  • parseCircleNode(dynamic node) → dynamic
    parseCSSStylesheet(dynamic node) → dynamic
    parseEllipseNode(dynamic node) ShapePath
    parseFloats(dynamic input, [dynamic flags, dynamic stride]) List<double>
    parseFloatWithUnits(dynamic string) → dynamic
    parseLineNode(dynamic node) ShapePath
    parseNode(dynamic node, dynamic style) → dynamic
    parseNodeTransform(dynamic node) → dynamic
    parsePath(String d) ShapePath
    parsePathNode(dynamic node) → dynamic
    parsePolygonNode(dynamic node) → dynamic
    parsePolylineNode(dynamic node) ShapePath
    parseRectNode(dynamic node) → dynamic
    parseStyle(dynamic node, dynamic style) → dynamic
    svgAngle(dynamic ux, dynamic uy, dynamic vx, dynamic vy) → dynamic
    toString() String
    A string representation of this object.
    inherited
    transformPath(dynamic path, dynamic m) → dynamic

    Operators

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

    Static Methods

    getStrokeStyle(dynamic width, dynamic color, dynamic lineJoin, dynamic lineCap, dynamic miterLimit) → dynamic