GPath class

A path shape.

Inheritance
Available extensions

Constructors

GPath(List<Object> pathPoints, {PColor? strokeColor, int? strokeSize, PColor? fillColor, bool closePath = true})

Properties

className String
no setteroverride
closePath bool
getter/setter pair
fillColor PColor?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pathPoints List<Object>
getter/setter pair
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
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