EtchRect class

Draw a rectangle on the canvas

Inheritance

Constructors

EtchRect({required Rect rect, EtchStyle? etchStyle})
EtchRect.alignment({required Offset topLeftAlignment, required Offset bottomRightAlignment, EtchStyle? etchStyle})

Properties

etchStyle EtchStyle
EtchStyle to use for painting the element
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size) → void
override
shouldRepaint(covariant EtchElement oldElement) bool
override
toString() String
A string representation of this object.
inherited

Operators

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