Skip to main content

ISelectionProcessModifier

Interfaces

IItemHandlerRectData

Properties

itemType
itemType: string;
startRectangle
startRectangle: RotatedRectangleF;

IMoveData

Properties

border?
optional border?: ILtrb;
delta
delta: PointF;

Delta between startPoint and currentPoint

momentDelta
momentDelta: PointF;

Delta between currentPoint and previousPoint

startPoint
startPoint: PointF;

Point of mousedown or touchstart in workspace coordinates

startRectangle?
optional startRectangle?: RotatedRectangleF;

Rectangle state when move was started


IResizeData

Properties

arbitraryResize
arbitraryResize: boolean;

Availability of arbitrary resize

currentRect
currentRect: RotatedRectangleF;

Current rectangle state

previousRectangle
previousRectangle: RotatedRectangleF;

Previous rectangle state

rectangleItemHandlers?
optional rectangleItemHandlers?: BaseRectangleItemHandler[];
resizeIndex
resizeIndex: number;

Index of grips is being resized now

startItemHandlersRects
startItemHandlersRects: IItemHandlerRectData[];
startRectangle
startRectangle: RotatedRectangleF;

Rectangle state when resize was started


IRotateData

Properties

currentRect
currentRect: RotatedRectangleF;

Current rectangle state

previousRectangle
previousRectangle: RotatedRectangleF;

Previous rectangle state


ISelectionProcessModifier

Methods

beforeMovePerformed()
beforeMovePerformed(data): PointF;

Returns delta between startPoint and currentPoint

Parameters
ParameterType
dataIMoveData
Returns

PointF

beforeResizePerformed()
beforeResizePerformed(data): RotatedRectangleF;

Returns target rectangle

Parameters
ParameterType
dataIResizeData
Returns

RotatedRectangleF

beforeRotatePerformed()
beforeRotatePerformed(data): RotatedRectangleF;

Returns target rectangle

Parameters
ParameterType
dataIRotateData
Returns

RotatedRectangleF

Was this page helpful?