EtchPathAddPolygon class

Adds a polygon to the current path

Inheritance

Constructors

EtchPathAddPolygon({required List<Offset> points, bool close = true})
EtchPathAddPolygon.alignment({required List<Offset> pointAlignments, bool close = true})

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

addToPath(Path path, Canvas canvas, Size size) → void
Modify the path to your requirement here
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRepaint(covariant EtchPathElement oldElement) bool
Define in what conditions the path should be repainted
override
toString() String
A string representation of this object.
inherited

Operators

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