ImageShape class

Inheritance

Constructors

ImageShape({required Image image, Radius borderRadius = Radius.zero, Size minimumSizeOfImage = const Size(40, 40), Color color = Colors.transparent, Offset location = const Offset(0, 0), Size size = const Size(20, 20), int zIndex = 0, int reactSize = 10})

Properties

activeResizePoint ResizePoint?
no setterinherited
activeRotatePoint RotatePoint?
no setterinherited
angle double
no setterinherited
borderRadius Radius
getter/setter pair
center Offset
no setterinherited
color Color
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
image Image
getter/setter pair
isDragging bool
no setterinherited
isHighlight bool
no setterinherited
isResizing bool
no setterinherited
isRotating bool
no setterinherited
isSelected bool
no setterinherited
location Offset
getter/setter pairinherited
minimumSizeOfImage Size
getter/setter pair
reactSize int
getter/setter pairinherited
removePoints List<Offset>
no setteroverride
resizePoints List<ResizePoint>
no setteroverride
rotatePoints List<RotatePoint>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
getter/setter pairinherited
zIndex int
getter/setter pairinherited

Methods

changeZIndex(int index) → void
inherited
deSelected() → void
inherited
draw(Canvas canvas, Size boardSize) → void
override
drawDecorate(Canvas canvas, Paint paint) → void
drawHighlight(Canvas canvas, Paint paint) → void
drawInteractivePoint(Canvas canvas, Paint paint) → void
drawObject(Canvas canvas, Paint paint) → void
endDrag() → void
inherited
endResize() → void
inherited
endRotate() → void
inherited
highlight() → void
inherited
isOverObject(Offset offset) bool
inherited
isOverRemovePoint(Offset mouseOffset) bool
inherited
isOverResizePoint(Offset mouseOffset) bool
inherited
isOverRotatePoint(Offset mouseOffset) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overRemovePoint(Offset mouseOffset) Offset?
inherited
overResizePoint(Offset mouseOffset) ResizePoint?
inherited
overRotatePoint(Offset mouseOffset) RotatePoint?
inherited
resize(Offset oldOffset, Offset newOffset) → void
inherited
rotate(Offset oldOffset, Offset newOffset) → void
inherited
selected() → void
inherited
shouldRepaint(covariant AbstractShape oldDelegate) bool
inherited
startDrag() → void
inherited
startResize(ResizePoint resizePoint) → void
inherited
startRotate(RotatePoint rotatePoint) → void
inherited
toString() String
A string representation of this object.
inherited
translate(Offset oldOffset, Offset newOffset) → void
inherited
unHighlight() → void
inherited

Operators

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