Winter Cardinal UI - v0.457.0 / DAnimationFadeIn
| Name | Type |
|---|---|
TARGET |
extends DBase = DBase |
DAnimationBase<TARGET>
↳ DAnimationFadeIn
• new DAnimationFadeIn<TARGET>(options?): DAnimationFadeIn<TARGET>
| Name | Type |
|---|---|
TARGET |
extends DBase<DThemeBase, DBaseOptions<DThemeBase, any>> = DBase<DThemeBase, DBaseOptions<DThemeBase, any>> |
| Name | Type |
|---|---|
options? |
DAnimationFadeInOptions<TARGET> |
DAnimationFadeIn<TARGET>
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:36
• Protected _duration: number
src/main/typescript/wcardinal/ui/d-animation-base.ts:23
• Protected _durationInverse: number
DAnimationBase._durationInverse
src/main/typescript/wcardinal/ui/d-animation-base.ts:24
• Protected _id: null | number
src/main/typescript/wcardinal/ui/d-animation-base.ts:21
• Protected _layer: null | DApplicationLayerLike = null
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:31
• Protected _onEnd: undefined | DAnimationOnEnd<TARGET>
src/main/typescript/wcardinal/ui/d-animation-base.ts:29
• Protected _onPostrenderBound: () => void
▸ (): void
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:34
• Protected _onPrerenderBound: () => void
▸ (): void
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:33
• Protected _onStart: undefined | DAnimationOnEnd<TARGET>
src/main/typescript/wcardinal/ui/d-animation-base.ts:28
• Protected _onStop: undefined | DAnimationOnStop<TARGET>
src/main/typescript/wcardinal/ui/d-animation-base.ts:30
• Protected _onTime: undefined | DAnimationOnTime<TARGET>
src/main/typescript/wcardinal/ui/d-animation-base.ts:26
• Protected _onTimeBaseBound: () => void
▸ (): void
void
DAnimationBase._onTimeBaseBound
src/main/typescript/wcardinal/ui/d-animation-base.ts:27
• Protected _reverse: boolean
src/main/typescript/wcardinal/ui/d-animation-base.ts:25
• Protected _shiftX: number
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:22
• Protected _shiftY: number
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:23
• Protected _startTime: number
src/main/typescript/wcardinal/ui/d-animation-base.ts:22
• Protected _storedAlpha: number = 0
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:27
• Protected _storedTarget: null | TARGET = null
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:29
• Protected _storedTime: number = 0
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:28
• Protected _storedX: number = 0
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:25
• Protected _storedY: number = 0
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:26
• Protected _target: null | TARGET
src/main/typescript/wcardinal/ui/d-animation-base.ts:32
• Protected _timing: DAnimationTiming<TARGET>
src/main/typescript/wcardinal/ui/d-animation-base.ts:31
• get duration(): number
An animation duration.
number
DAnimationBase.duration
src/main/typescript/wcardinal/ui/d-animation-base.ts:72
• set duration(duration): void
An animation duration.
| Name | Type |
|---|---|
duration |
number |
void
DAnimationBase.duration
src/main/typescript/wcardinal/ui/d-animation-base.ts:76
• get target(): null | TARGET
An animation target.
null | TARGET
DAnimationBase.target
src/main/typescript/wcardinal/ui/d-animation-base.ts:64
• set target(target): void
An animation target.
| Name | Type |
|---|---|
target |
null | TARGET |
void
DAnimationBase.target
src/main/typescript/wcardinal/ui/d-animation-base.ts:68
▸ addEventListeners(target): void
| Name | Type |
|---|---|
target |
TARGET |
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:59
▸ addListener(event, fn, context?): this
Alias method for on
| Name | Type |
|---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25495
▸ emit(event, ...args): boolean
Calls each of the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
...args |
any[] |
Arguments that are passed to registered listeners |
boolean
true if the event had listeners, else false.
node_modules/pixi.js/pixi.js.d.ts:25441
▸ end(): void
Moves an animation frame to the end.
void
src/main/typescript/wcardinal/ui/d-animation-base.ts:175
▸ eventNames(): (string | symbol)[]
Return an array listing the events for which the emitter has registered listeners.
(string | symbol)[]
node_modules/pixi.js/pixi.js.d.ts:25415
▸ isReverse(): boolean
Returns true if an animation is in a reverse mode.
boolean
src/main/typescript/wcardinal/ui/d-animation-base.ts:132
▸ isStarted(): boolean
Returns true if an animation is playing.
boolean
src/main/typescript/wcardinal/ui/d-animation-base.ts:128
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
node_modules/pixi.js/pixi.js.d.ts:25432
▸ listeners(event): Function[]
Return the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
Function[]
node_modules/pixi.js/pixi.js.d.ts:25424
▸ off(event, fn?, context?, once?): this
Alias method for removeListener
| Name | Type |
|---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
once? |
boolean |
this
node_modules/pixi.js/pixi.js.d.ts:25489
▸ on(event, fn, context?): this
Add a listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
node_modules/pixi.js/pixi.js.d.ts:25452
▸ onEnd(isReverse): void
| Name | Type |
|---|---|
isReverse |
boolean |
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:107
▸ onPostrender(): void
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:138
▸ onPrerender(): void
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:118
▸ onStart(isReverse): void
| Name | Type |
|---|---|
isReverse |
boolean |
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:79
▸ onStop(isReverse): void
| Name | Type |
|---|---|
isReverse |
boolean |
void
src/main/typescript/wcardinal/ui/d-animation-base.ts:120
▸ onTime(time, isReverse, elapsedTime): void
| Name | Type |
|---|---|
time |
number |
isReverse |
boolean |
elapsedTime |
number |
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:92
▸ onTimeBase(): void
void
src/main/typescript/wcardinal/ui/d-animation-base.ts:136
▸ once(event, fn, context?): this
Add a one-time listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
node_modules/pixi.js/pixi.js.d.ts:25463
▸ removeAllListeners(event?): this
Remove all listeners, or those of the specified event.
| Name | Type | Description |
|---|---|---|
event? |
string | symbol |
The event name. |
this
this.
DAnimationBase.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25483
▸ removeEventListeners(): void
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:69
▸ removeListener(event, fn?, context?, once?): this
Remove the listeners of a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn? |
Function |
Only remove the listeners that match this function. |
context? |
any |
Only remove the listeners that have this context. |
once? |
boolean |
Only remove one-time listeners. |
this
this.
node_modules/pixi.js/pixi.js.d.ts:25475
▸ start(reverse?): void
Starts an animation.
| Name | Type | Default value | Description |
|---|---|---|---|
reverse |
boolean |
false |
true to play in reverse. |
void
src/main/typescript/wcardinal/ui/d-animation-base.ts:81
▸ stop(): void
Stops an animation as is.
void
src/main/typescript/wcardinal/ui/d-animation-fade-in.ts:53
▸ toTime(elapsedTime): number
| Name | Type |
|---|---|
elapsedTime |
number |
number