RSX Code Reference
    Preparing search index...
    • rsx
    • UIElementStateStyle

    Class UIElementStateStyle

    Specific texture and text color used in a particular UI element style.

    Index
    _contentOffset: RectOffset
    _font: Font
    _shape: Shape
    _textColor: SRGBColor
    _texture: Image
    _tintColor: SRGBColor
    • get contentOffset(): RectOffset

      Additional offset to the content, that doesn't effect the bounds. Controls like UIButton use this value to apply an offset to it's icon and text when the button is in active state.

      Returns RectOffset

    • set contentOffset(value: Immutable<RectOffset>): void

      Parameters

      Returns void

    • get font(): Font

      Font to use for all text within the UI element when this state state. If empty, default style font is used.

      Returns Font

    • set font(value: Font): void

      Parameters

      Returns void

    • get shape(): Shape

      Returns Shape

    • set shape(value: Shape): void

      Parameters

      Returns void

    • get texture(): Image

      Returns Image

    • set texture(value: Image): void

      Parameters

      Returns void