Class: Transformer
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Transformer(interaction
): Transformer
Parameters
Name | Type |
---|---|
interaction | InteractionBase |
Returns
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
Name | Type |
---|---|
data | IMoveEvent |
Returns
void
Defined in
in/packages/viewport/src/interaction/Transformer.ts:20
zoom
▸ zoom(data
): void
Parameters
Name | Type |
---|---|
data | IZoomEvent |
Returns
void
Defined in
in/packages/viewport/src/interaction/Transformer.ts:37
rotate
▸ rotate(data
): void
Parameters
Name | Type |
---|---|
data | IRotateEvent |
Returns
void
Defined in
in/packages/viewport/src/interaction/Transformer.ts:53
setPath
▸ setPath(data
): void
Parameters
Name | Type |
---|---|
data | any |
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