ImageCropperHandler
Classes
ImageCropperHandler
Constructors
Constructor
new ImageCropperHandler(): ImageCropperHandler;
Returns
Accessors
canvas
Set Signature
set canvas(cnv): void;
Parameters
| Parameter | Type |
|---|---|
cnv | Canvas |
Returns
void
selection
Get Signature
get selection(): SelectionHandler;
Returns
Methods
isMoved()
isMoved(curRect, newRect): boolean;
Parameters
| Parameter | Type |
|---|---|
curRect | RotatedRectangleF |
newRect | RotatedRectangleF |
Returns
boolean
isRotated()
isRotated(curRect, newRect): boolean;
Parameters
| Parameter | Type |
|---|---|
curRect | RotatedRectangleF |
newRect | RotatedRectangleF |
Returns
boolean
modifyRectangle()
modifyRectangle(
placeholder,
currentRect,
newRect): IModifedRectangle;
Parameters
| Parameter | Type |
|---|---|
placeholder | PlaceholderItemHandler |
currentRect | RotatedRectangleF |
newRect | RotatedRectangleF |
Returns
Interfaces
IModifedRectangle
Properties
needUpdate
needUpdate: boolean;
rectangle
rectangle: RotatedRectangleF;