Skip to main content

ImageCropperHandler

Classes

ImageCropperHandler

Constructors

Constructor
new ImageCropperHandler(): ImageCropperHandler;
Returns

ImageCropperHandler

Accessors

canvas
Set Signature
set canvas(cnv): void;
Parameters
ParameterType
cnvCanvas
Returns

void

selection
Get Signature
get selection(): SelectionHandler;
Returns

SelectionHandler

Methods

isMoved()
isMoved(curRect, newRect): boolean;
Parameters
ParameterType
curRectRotatedRectangleF
newRectRotatedRectangleF
Returns

boolean

isRotated()
isRotated(curRect, newRect): boolean;
Parameters
ParameterType
curRectRotatedRectangleF
newRectRotatedRectangleF
Returns

boolean

modifyRectangle()
modifyRectangle(
placeholder,
currentRect,
newRect): IModifedRectangle;
Parameters
ParameterType
placeholderPlaceholderItemHandler
currentRectRotatedRectangleF
newRectRotatedRectangleF
Returns

IModifedRectangle

Interfaces

IModifedRectangle

Properties

needUpdate
needUpdate: boolean;
rectangle
rectangle: RotatedRectangleF;
Was this page helpful?