Skip to content

Class: Transformer

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Transformer(interaction): Transformer

Parameters

NameType
interactionInteractionBase

Returns

Transformer

Defined in

in/packages/viewport/src/interaction/Transformer.ts:16

Properties

interaction

Protected interaction: InteractionBase

Defined in

in/packages/viewport/src/interaction/Transformer.ts:10


moveData

Protected moveData: IMoveEvent

Defined in

in/packages/viewport/src/interaction/Transformer.ts:11


zoomData

Protected zoomData: IZoomEvent

Defined in

in/packages/viewport/src/interaction/Transformer.ts:12


rotateData

Protected rotateData: IRotateEvent

Defined in

in/packages/viewport/src/interaction/Transformer.ts:13


transformTimer

Protected transformTimer: any

Defined in

in/packages/viewport/src/interaction/Transformer.ts:14

Accessors

transforming

get transforming(): boolean

Returns

boolean

Defined in

in/packages/viewport/src/interaction/Transformer.ts:8

Methods

move

move(data): void

Parameters

NameType
dataIMoveEvent

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:20


zoom

zoom(data): void

Parameters

NameType
dataIZoomEvent

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:37


rotate

rotate(data): void

Parameters

NameType
dataIRotateEvent

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:53


setPath

setPath(data): void

Parameters

NameType
dataany

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:69


transformEndWait

transformEndWait(): void

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:76


transformEnd

transformEnd(): void

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:83


reset

reset(): void

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:91


destroy

destroy(): void

Returns

void

Defined in

in/packages/viewport/src/interaction/Transformer.ts:95

Released under the MIT License.