Winter Cardinal UI - v0.442.0 / EShapeActionRuntimeTransformRotate

Class: EShapeActionRuntimeTransformRotate

A base class of action runtimes.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new EShapeActionRuntimeTransformRotate(value, reset): EShapeActionRuntimeTransformRotate

Parameters

Name Type
value EShapeActionValueTransformRotate
reset number

Returns

EShapeActionRuntimeTransformRotate

Overrides

EShapeActionRuntimeConditional.constructor

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.ts:19

Properties

amount

Protected Readonly amount: EShapeActionExpression<number>

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.ts:17


condition

Protected Readonly condition: EShapeActionExpression<boolean>

Inherited from

EShapeActionRuntimeConditional.condition

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-conditional.ts:13


originX

Protected originX: number

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.ts:16


originY

Protected originY: number

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.ts:15


reset

Readonly reset: number

Inherited from

EShapeActionRuntimeConditional.reset

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:16

Methods

adjustPosition

adjustPosition(shape, runtime, oldRotation, newRotation, originX, originY): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
oldRotation number
newRotation number
originX number
originY number

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-transform-rotate.ts:26


execute

execute(shape, runtime, time): void

Called to execute this action for the given shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
time number a current time

Returns

void

Inherited from

EShapeActionRuntimeConditional.execute

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:26


initialize

initialize(shape, runtime): void

Called to initialize this action runtime for the given shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime

Returns

void

Inherited from

EShapeActionRuntimeConditional.initialize

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:22


onBlur

onBlur(shape, runtime): void

Called when a shape losees a focuse.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime

Returns

void

Inherited from

EShapeActionRuntimeConditional.onBlur

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:38


onClick

onClick(shape, runtime, e): void

Called when a shape is clicked.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent | InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onClick

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:42


onDblClick

onDblClick(shape, runtime, e, manager): void

Called when a shape is double clicked.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e MouseEvent | TouchEvent an event object
manager InteractionManager the interaction manager

Returns

void

Inherited from

EShapeActionRuntimeConditional.onDblClick

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:46


onDown

onDown(shape, runtime, e): void

Called when a pointer or a key get pressed on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent | InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onDown

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:59


onDowning

onDowning(shape, runtime, e): void

Called when a pointer or a key are about to be pressed on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent | InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onDowning

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:55


onFocus

onFocus(shape, runtime): void

Called when a shape get focused.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime

Returns

void

Inherited from

EShapeActionRuntimeConditional.onFocus

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:34


onKeyDown

onKeyDown(shape, runtime, e): void

Called when a key is pressed on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onKeyDown

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:91


onKeyUp

onKeyUp(shape, runtime, e): void

Called when a key is released on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onKeyUp

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:95


onMove

onMove(shape, runtime, e): void

Called when a pointer is moved on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onMove

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:63


onOut

onOut(shape, runtime, e): void

Called when a pointer gets out of a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onOut

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:71


onOver

onOver(shape, runtime, e): void

Called when a pointer gets on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onOver

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:67


onPressed

onPressed(shape, runtime, e): void

Called when a shape is pressed.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent | InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onPressed

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:83


onRender

onRender(shape, runtime, time, renderer): void

Called when a shape get rendered.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
time number -
renderer Renderer -

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRender

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:127


onResize

onResize(shape, runtime): void

Called when the shape size is changed.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime

Returns

void

Inherited from

EShapeActionRuntimeConditional.onResize

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:30


onRightClick

onRightClick(shape, runtime, e): void

Called when a shape is right-clicked.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRightClick

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:99


onRightDown

onRightDown(shape, runtime, e): void

Called when a secondary button gets pressed on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRightDown

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:107


onRightDowning

onRightDowning(shape, runtime, e): void

Called when a secondary button is about to be pressed on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRightDowning

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:103


onRightPressed

onRightPressed(shape, runtime, e): void

Called when a secondary button is pressed on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRightPressed

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:119


onRightUnpressed

onRightUnpressed(shape, runtime, e): void

Called when a secondary button is released on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRightUnpressed

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:123


onRightUp

onRightUp(shape, runtime, e): void

Called when a secondary button gets released on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRightUp

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:111


onRightUpOutside

onRightUpOutside(shape, runtime, e): void

Called when a secondary button get released outside of a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onRightUpOutside

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:115


onUnpressed

onUnpressed(shape, runtime, e): void

Called when a shape is released.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent | InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onUnpressed

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:87


onUp

onUp(shape, runtime, e): void

Called when a pointer or a key get released on a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent | InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onUp

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:75


onUpOutside

onUpOutside(shape, runtime, e): void

Called when a pointer or a key get released outside of a shape.

Parameters

Name Type Description
shape EShape a shape
runtime EShapeRuntime a runtime
e KeyboardEvent | InteractionEvent an event object

Returns

void

Inherited from

EShapeActionRuntimeConditional.onUpOutside

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:79