InnerRectItem class

Constructors

InnerRectItem({required double imageWidth, required double imageHeight, required double ratio, required Color innerRectColor, required double innerRectStrokeWidth})

Properties

hashCode int
The hash code for this object.
no setterinherited
imageHeight double
This image's height
final
imageWidth double
This image's width
final
innerRectColor Color
The color of inner rectangle
final
innerRectStrokeWidth double
The stroke width of inner rectangle
final
region Region
Selected region
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clear the selected region
isReady() bool
Check if the region is drawn
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas) → void
resize(Offset tl, Offset br) → void
Resize this inner rect
setPos(Offset tl) → void
Move this inner rect
toString() String
A string representation of this object.
inherited

Operators

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