SquareShape class

A square shape.

Inheritance

Constructors

SquareShape({bool hollow = false, double strokeWidth = 1})
Creates a square shape.

Properties

defaultSize double
The default size of the shape if Aes.size is null.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hollow bool
Whether this point shape is hollow.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeWidth double
The stroke width of this point shape when it's hollow.
finalinherited

Methods

equalTo(Object other) bool
Checks the equlity of two specs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
path(Aes item, CoordConv coord) Path
renderGroup(List<Aes> group, CoordConv coord, Offset origin) List<Figure>
Renders the whole group of tuples.
inherited
renderItem(Aes item, CoordConv coord, Offset origin) List<Figure>
Renders a single tuple if called by renderGroup.
inherited
representPoint(List<Offset> position) Offset
Gets the represent point of Aes.position points.
inherited
toString() String
A string representation of this object.
inherited

Operators

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