Winter Cardinal UI - v0.442.0 / EShapeActionRuntimeChangeColorBrightness

Class: EShapeActionRuntimeChangeColorBrightness

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new EShapeActionRuntimeChangeColorBrightness(value): EShapeActionRuntimeChangeColorBrightness

Parameters

Name Type
value EShapeActionValueChangeColorBrightness

Returns

EShapeActionRuntimeChangeColorBrightness

Overrides

EShapeActionRuntimeChangeColorBase.constructor

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-change-color-brightness.ts:20

Properties

brightness

Protected Readonly brightness: EShapeActionExpression<null | number>

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-change-color-brightness.ts:18


condition

Protected Readonly condition: EShapeActionExpression<boolean>

Inherited from

EShapeActionRuntimeChangeColorBase.condition

Defined in

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


reset

Readonly reset: number

Inherited from

EShapeActionRuntimeChangeColorBase.reset

Defined in

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

Methods

execute

execute(shape, runtime, time): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
time number

Returns

void

Overrides

EShapeActionRuntimeChangeColorBase.execute

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-change-color-brightness.ts:25


initialize

initialize(shape, runtime): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.initialize

Defined in

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


onBlur

onBlur(shape, runtime): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onBlur

Defined in

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


onClick

onClick(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onClick

Defined in

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


onDblClick

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

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e MouseEvent | TouchEvent
manager InteractionManager

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onDblClick

Defined in

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


onDown

onDown(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onDown

Defined in

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


onDowning

onDowning(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onDowning

Defined in

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


onFocus

onFocus(shape, runtime): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onFocus

Defined in

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


onKeyDown

onKeyDown(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onKeyDown

Defined in

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


onKeyUp

onKeyUp(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onKeyUp

Defined in

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


onMove

onMove(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onMove

Defined in

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


onOut

onOut(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onOut

Defined in

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


onOver

onOver(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onOver

Defined in

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


onPressed

onPressed(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onPressed

Defined in

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


onRender

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

Parameters

Name Type
shape EShape
runtime EShapeRuntime
time number
renderer Renderer

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRender

Defined in

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


onResize

onResize(shape, runtime): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onResize

Defined in

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


onRightClick

onRightClick(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRightClick

Defined in

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


onRightDown

onRightDown(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRightDown

Defined in

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


onRightDowning

onRightDowning(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRightDowning

Defined in

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


onRightPressed

onRightPressed(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRightPressed

Defined in

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


onRightUnpressed

onRightUnpressed(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRightUnpressed

Defined in

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


onRightUp

onRightUp(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRightUp

Defined in

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


onRightUpOutside

onRightUpOutside(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onRightUpOutside

Defined in

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


onUnpressed

onUnpressed(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onUnpressed

Defined in

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


onUp

onUp(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onUp

Defined in

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


onUpOutside

onUpOutside(shape, runtime, e): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeActionRuntimeChangeColorBase.onUpOutside

Defined in

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


set

set(shape, runtime, time, brightness): void

Parameters

Name Type
shape EShape
runtime EShapeRuntime
time number
brightness null | number

Returns

void

Overrides

EShapeActionRuntimeChangeColorBase.set

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-change-color-brightness.ts:32


toAdjusted

toAdjusted(color, brightness): number

Parameters

Name Type
color number
brightness number

Returns

number

Defined in

src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-change-color-brightness.ts:62