API reference
Preparing search index…

Owned Rml::ComputedValues storage associated with a live element.

The constructor uses upstream defaults, not the element's current values. CopyInherited and CopyNonInherited copy their native field groups without replacing the associated element. Local-property getters (fontFamily, cursor, animation, transition, transform and flex keywords) read that element. Assignments change this owned value only. All access rejects after element destruction or runtime shutdown. Element.getComputedValues returns a live read-only view instead; refresh layout with Context.update before inspecting.

Type hierarchy

Hierarchy

  • ComputedFields
    • ComputedValues
Source & inheritance
Member directory102

Constructors

Accessors

Methods

Constructors

Accessors

  • get borderBottomLeftRadius(): number

    The computed bottom left corner radius in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed bottom left corner radius in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get borderBottomRightRadius(): number

    The computed bottom right corner radius in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed bottom right corner radius in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get borderBottomWidth(): number

    The computed bottom border width in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed bottom border width in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get borderLeftWidth(): number

    The computed left border width in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed left border width in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get borderRightWidth(): number

    The computed right border width in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed right border width in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get borderTopLeftRadius(): number

    The computed top left corner radius in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed top left corner radius in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get borderTopRightRadius(): number

    The computed top right corner radius in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed top right corner radius in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get borderTopWidth(): number

    The computed top border width in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed top border width in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get clear(): Clear

    The computed float clearance.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set clear(value: Clear): void

    The computed float clearance.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get clip(): Clip

    The computed ancestor clipping control.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set clip(value: Clip): void

    The computed ancestor clipping control.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get cursor(): string

    The computed cursor name.

    Returns

    string

    Current native value; structured values are independent copies.

    Source & inheritance
  • get display(): Display

    The computed layout box generation.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set display(value: Display): void

    The computed layout box generation.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get drag(): Drag

    The computed drag interaction.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set drag(value: Drag): void

    The computed drag interaction.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get flexGrow(): number

    The computed flex growth factor.

    Returns

    number

    Current native value; structured values are independent copies.

    Source & inheritance
  • get flexShrink(): number

    The computed flex shrink factor.

    Returns

    number

    Current native value; structured values are independent copies.

    Source & inheritance
  • get float(): Float

    The computed float placement.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set float(value: Float): void

    The computed float placement.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get focus(): Focus

    The computed focus eligibility.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set focus(value: Focus): void

    The computed focus eligibility.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get fontFamily(): string

    The computed font family selection.

    Returns

    string

    Current native value; structured values are independent copies.

    Source & inheritance
  • get fontSize(): number

    The computed font size in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed font size in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get fontWeight(): number

    The computed font weight.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed font weight.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasBackdropFilter(): boolean

    The computed whether backdrop filter list is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether backdrop filter list is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasBoxShadow(): boolean

    The computed whether box shadows is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether box shadows is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasDecorator(): boolean

    The computed whether decorator layers is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether decorator layers is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasFilter(): boolean

    The computed whether element filter list is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether element filter list is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasFontEffect(): boolean

    The computed whether font effects is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether font effects is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasLocalPerspective(): boolean

    The computed whether local perspective distance in pixels is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether local perspective distance in pixels is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasLocalTransform(): boolean

    The computed whether local transform is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether local transform is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get hasMaskImage(): boolean

    The computed whether mask image layers is present.

    Returns

    boolean

    Current native value; structured values are independent copies.

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

    The computed whether mask image layers is present.

    Parameters

    value
    boolean

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get language(): string

    The computed text language tag.

    Returns

    string

    Current native value; structured values are independent copies.

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

    The computed text language tag.

    Parameters

    value
    string

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get letterSpacing(): number

    The computed extra letter spacing in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

    Source & inheritance
  • get opacity(): number

    The computed opacity multiplier.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed opacity multiplier.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get overflowX(): Overflow

    The computed horizontal overflow handling.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set overflowX(value: Overflow): void

    The computed horizontal overflow handling.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get overflowY(): Overflow

    The computed vertical overflow handling.

    Returns

    Current native value; structured values are independent copies.

    Source & inheritance
  • set overflowY(value: Overflow): void

    The computed vertical overflow handling.

    Parameters

    value

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get perspective(): number

    The computed perspective distance in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed perspective distance in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get scrollbarMargin(): number

    The computed scrollbar margin in pixels.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed scrollbar margin in pixels.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance
  • get textOverflowString(): string

    The computed custom text overflow string.

    Returns

    string

    Current native value; structured values are independent copies.

    Source & inheritance
  • get transformOriginZ(): number

    The computed depth transform origin.

    Returns

    number

    Current native value; structured values are independent copies.

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

    The computed depth transform origin.

    Parameters

    value
    number

    Assignment to an owned value; element views reject writes.

    Returns

    void
    Source & inheritance

Methods

  • Native write-only has_letter_spacing flag used by letterSpacing.

    Parameters

    value
    boolean

    Whether to resolve spacing from the associated element.

    Returns

    void
    Source & inheritance

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