API reference
Preparing search index…

Style.VerticalAlign

An inline vertical alignment keyword or pixel offset.

Numeric views retain only this scalar, independently of the DOM.

Source & inheritance
Member directory5

Constructors

Accessors

Constructors

  • Create an inline alignment keyword or a pixel offset.

    Parameters

    typeOrLengthOptional
    number

    One number means pixels; omitted means Baseline.

    valueOptional
    number

    With two arguments: type first, then pixel length.

    Returns

    Source & inheritance

Accessors

  • get typeView(): Uint8Array

    Writable shared memory for this scalar component; writes update the owned value directly.

    Returns

    Uint8Array

    Writable view; native consumers validate before use.

    Source & inheritance
  • get value(): number

    The pixel offset used by Length; keywords ignore it.

    Returns

    number

    Native shared scalar field.

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

    The pixel offset used by Length; keywords ignore it.

    Parameters

    value
    number

    Checked native scalar value.

    Returns

    void
    Source & inheritance
  • get valueView(): Float32Array

    Writable shared memory for this scalar component; writes update the owned value directly.

    Returns

    Float32Array

    Writable view; native consumers validate before use.

    Source & inheritance

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