PolygonStroke class

Inheritance

Constructors

PolygonStroke.new({required List<Offset> points, required int sides, bool filled = false, Color color = Colors.black, double size = 1, double opacity = 1})

Properties

color Color
finalinherited
createdAt DateTime
finalinherited
filled bool
final
hashCode int
The hash code for this object.
no setterinherited
isEraser bool
no setterinherited
isLine bool
no setterinherited
isNormal bool
no setterinherited
isStamp bool
no setterinherited
opacity double
finalinherited
points List<Offset>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sides int
final
size double
finalinherited
strokeType StrokeType
finalinherited

Methods

copyWith({List<Offset>? points, int? sides, Color? color, double? size, double? opacity, bool? filled}) PolygonStroke
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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