Winter Cardinal UI - v0.457.0 / DDynamicTextStyle
EventEmitter
↳ DDynamicTextStyle
• new DDynamicTextStyle(parent, theme, options?): DDynamicTextStyle
| Name | Type |
|---|---|
parent |
DDynamicTextStyleParent |
theme |
DThemeDynamicTextStyle |
options? |
DDynamicTextStyleOptions |
utils.EventEmitter.constructor
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:60
• Protected _clipping: boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:54
• Protected _fill: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:52
• Protected _fillApproved: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:53
• Protected _fitting: boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:55
• Protected _fontFamily: string
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:45
• Protected _fontId: string
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:42
• Protected _fontIdApproved: string
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:43
• Protected _fontIdFontSize: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:44
• Protected _fontIdId: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:41
• Protected _fontSize: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:46
• Protected _fontSizeFitted: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:47
• Protected _fontStyle: DFontStyle
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:49
• Protected _fontVariant: DFontVariant
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:50
• Protected _fontWeight: DFontWeight
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:51
• Protected _id: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:39
• Protected _idApproved: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:40
• Protected _isFontFitted: boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:48
• Protected _lineHeight: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:57
• Protected _lineHeightFitted: number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:58
• Protected _wordWrap: DDynamicTextStyleWordWrap
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:56
• get clipping(): boolean
boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:233
• set clipping(clipping): void
| Name | Type |
|---|---|
clipping |
boolean |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:237
• get fill(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:127
• set fill(fill): void
| Name | Type |
|---|---|
fill |
number |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:131
• get fillApproved(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:143
• get fitting(): boolean
boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:244
• set fitting(fitting): void
| Name | Type |
|---|---|
fitting |
boolean |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:248
• get fontFamily(): string
string
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:154
• set fontFamily(fontFamily): void
| Name | Type |
|---|---|
fontFamily |
string |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:158
• get fontId(): string
string
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:113
• get fontIdApproved(): string
string
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:123
• get fontIdFontSize(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:118
• get fontSize(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:165
• set fontSize(fontSize): void
| Name | Type |
|---|---|
fontSize |
number |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:169
• get fontSizeFitted(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:179
• get fontStyle(): DFontStyle
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:187
• set fontStyle(fontStyle): void
| Name | Type |
|---|---|
fontStyle |
DFontStyle |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:191
• get fontVariant(): DFontVariant
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:198
• set fontVariant(fontVariant): void
| Name | Type |
|---|---|
fontVariant |
DFontVariant |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:202
• get fontWeight(): DFontWeight
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:209
• set fontWeight(fontWeight): void
| Name | Type |
|---|---|
fontWeight |
DFontWeight |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:213
• get id(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:105
• get idApproved(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:109
• get isFontFitted(): boolean
boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:183
• get lineHeight(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:266
• set lineHeight(lineHeight): void
| Name | Type |
|---|---|
lineHeight |
number |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:270
• get lineHeightFitted(): number
number
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:280
• set lineHeightFitted(lineHeightFitted): void
| Name | Type |
|---|---|
lineHeightFitted |
number |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:284
• get wordWrap(): DDynamicTextStyleWordWrap
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:255
• set wordWrap(wordWrap): void
| Name | Type |
|---|---|
wordWrap |
DDynamicTextStyleWordWrap |
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:259
▸ addListener(event, fn, context?): this
Alias method for on
| Name | Type |
|---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
utils.EventEmitter.addListener
node_modules/pixi.js/pixi.js.d.ts:25495
▸ approve(): void
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:147
▸ 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.
utils.EventEmitter.emit
node_modules/pixi.js/pixi.js.d.ts:25441
▸ eventNames(): (string | symbol)[]
Return an array listing the events for which the emitter has registered listeners.
(string | symbol)[]
utils.EventEmitter.eventNames
node_modules/pixi.js/pixi.js.d.ts:25415
▸ fit(fontSize, lineHeight): boolean
| Name | Type |
|---|---|
fontSize |
number |
lineHeight |
number |
boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:291
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
utils.EventEmitter.listenerCount
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[]
utils.EventEmitter.listeners
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
utils.EventEmitter.off
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.
utils.EventEmitter.on
node_modules/pixi.js/pixi.js.d.ts:25452
▸ onChange(): void
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:138
▸ 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.
utils.EventEmitter.once
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.
utils.EventEmitter.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25483
▸ 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.
utils.EventEmitter.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ toFontId(fontSize): string
| Name | Type |
|---|---|
fontSize |
number |
string
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:229
▸ unfit(): boolean
boolean
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:311
▸ update(): void
void
src/main/typescript/wcardinal/ui/d-dynamic-text-style.ts:220