API reference
Preparing search index…

Style.InheritedValues

Owned storage for inherited text, colour and input properties.

Uses upstream defaults independently of DOM and runtime. Numeric views retain this struct only; colour getters return copies. Non-null font handles require the active runtime generation.

Source & inheritance
Member directory27

Constructors

Accessors

Constructors

Accessors

  • get colorView(): Uint8Array

    Writable shared memory: The computed text RGBA colour.

    Returns

    Uint8Array

    Writable native memory; views bypass setter validation.

    Source & inheritance
  • get fontSize(): number

    The computed font size in pixels.

    Returns

    number

    Current native field value.

    Source & inheritance
  • set fontSize(value: number): void

    The computed font size in pixels.

    Parameters

    value
    number

    Checked native field value.

    Returns

    void
    Source & inheritance
  • get fontSizeView(): Float32Array

    Writable shared memory: The computed font size in pixels.

    Returns

    Float32Array

    Writable native memory; views bypass setter validation.

    Source & inheritance
  • get hasFontEffect(): boolean

    The computed whether font effects is present.

    Returns

    boolean

    Current native field value.

    Source & inheritance
  • set hasFontEffect(value: boolean): void

    The computed whether font effects is present.

    Parameters

    value
    boolean

    Checked native field value.

    Returns

    void
    Source & inheritance
  • get hasLetterSpacing(): number

    The computed whether extra letter spacing in pixels is present.

    Returns

    number

    Current native field value.

    Source & inheritance
  • set hasLetterSpacing(value: number): void

    The computed whether extra letter spacing in pixels is present.

    Parameters

    value
    number

    Checked native field value.

    Returns

    void
    Source & inheritance
  • get language(): string

    The computed text language tag.

    Returns

    string

    Current native field value.

    Source & inheritance
  • set language(value: string): void

    The computed text language tag.

    Parameters

    value
    string

    Checked native field value.

    Returns

    void
    Source & inheritance
  • get lineHeightInherit(): number

    The computed inherited line height number or length.

    Returns

    number

    Current native field value.

    Source & inheritance
  • set lineHeightInherit(value: number): void

    The computed inherited line height number or length.

    Parameters

    value
    number

    Checked native field value.

    Returns

    void
    Source & inheritance
  • get lineHeightInheritView(): Float32Array

    Writable shared memory: The computed inherited line height number or length.

    Returns

    Float32Array

    Writable native memory; views bypass setter validation.

    Source & inheritance
  • get lineHeightView(): Float32Array

    Writable shared memory: The computed line height.

    Returns

    Float32Array

    Writable native memory; views bypass setter validation.

    Source & inheritance
  • get opacity(): number

    The computed opacity multiplier.

    Returns

    number

    Current native field value.

    Source & inheritance
  • set opacity(value: number): void

    The computed opacity multiplier.

    Parameters

    value
    number

    Checked native field value.

    Returns

    void
    Source & inheritance
  • get opacityView(): Float32Array

    Writable shared memory: The computed opacity multiplier.

    Returns

    Float32Array

    Writable native memory; views bypass setter validation.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0