GSVGPath class

Inheritance
Available extensions

Constructors

GSVGPath(List<GPath> paths, {PColor? strokeColor, int? strokeSize, PColor? fillColor})
GSVGPath.fromJson(Map<String, dynamic> json)
factory
GSVGPath.fromSVGPaths(String svgPaths, {PColor? strokeColor, int? strokeSize, PColor? fillColor})

Properties

className String
no setteroverride
fillColor PColor?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeBoundingBox PRectangle
no setteroverride
shapeName String
no setteroverride
strokeColor PColor?
getter/setter pair
strokeSize int?
getter/setter pair

Methods

containsPoint(Point p) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(PCanvas pCanvas, [GraphicContext? graphicContext]) → void
override
resolveGraphicContext([GraphicContext? parentContext]) GraphicContext
override
scaled(double scale) GSVGPath
Scaled version of this GShape.
override
selectShapesAtPoint(Point p, {bool recursive = false}) List<GShape>
inherited
toJson() Map<String, dynamic>
override
toJsonEncoded({bool pretty = false}) String
inherited
toString() String
A string representation of this object.
inherited
translate(Point p) → void
override

Operators

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