Grips
Enumerations
GripsResizeType
Enumeration Members
ResizeType
Enumeration Members
Classes
ResizeHelper
Constructors
Constructor
new ResizeHelper(): ResizeHelper;
Returns
Methods
getTypeResize()
static getTypeResize(currentRect, prevRect): ResizeType;
Parameters
| Parameter | Type |
|---|---|
currentRect | RotatedRectangleF |
prevRect | RotatedRectangleF |
Returns
geTypeOfResizeByGrips()
static geTypeOfResizeByGrips(
currentRect,
prevRect,
resizeIndex): GripsResizeType;
Parameters
| Parameter | Type |
|---|---|
currentRect | RotatedRectangleF |
prevRect | RotatedRectangleF |
resizeIndex | number |
Returns
isBottomLeftResizeGrip()
static isBottomLeftResizeGrip(index): index is 4;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 4
isBottomResizeGrip()
static isBottomResizeGrip(index): index is 3 | 4 | 8;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 3 | 4 | 8
isBottomRightResizeGrip()
static isBottomRightResizeGrip(index): index is 3;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 3
isCornerResizeGrip()
static isCornerResizeGrip(index): index is 1 | 2 | 3 | 4;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 1 | 2 | 3 | 4
isEdgeResizeGrip()
static isEdgeResizeGrip(index): index is 5 | 6 | 7 | 8;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 5 | 6 | 7 | 8
isLeftResizeGrip()
static isLeftResizeGrip(index): index is 1 | 4 | 5;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 1 | 4 | 5
isRightResizeGrip()
static isRightResizeGrip(index): index is 2 | 3 | 7;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 2 | 3 | 7
isTopLeftResizeGrip()
static isTopLeftResizeGrip(index): index is 1;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 1
isTopResizeGrip()
static isTopResizeGrip(index): index is 1 | 2 | 6;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 1 | 2 | 6
isTopRightResizeGrip()
static isTopRightResizeGrip(index): index is 2;
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
index is 2