OSRS Plugin API
    Preparing search index...

    Type Alias StyleTable

    The properties in a style table

    
    
    type StyleTable = {
        alpha: number;
        buttonTextAlign: Vector2;
        cellPadding: Vector2;
        childBorderSize: number;
        childRounding: number;
        colour: osrs.Ui.Colour;
        disabledAlpha: boolean;
        frameBorderSize: number;
        framePadding: Vector2;
        frameRounding: number;
        grabMinSize: number;
        grabRounding: number;
        indentSpacing: number;
        itemInnerspacing: Vector2;
        itemSpacing: Vector2;
        popupBorderSize: number;
        popupRounding: number;
        scrollbarRounding: number;
        scrollbarSize: number;
        selectableTextAlign: Vector2;
        tabRounding: number;
        titleAlign: Vector2;
        windowBorderSize: number;
        windowMinSize: Vector2;
        windowPadding: Vector2;
        windowRounding: number;
    }
    Index

    Properties

    alpha: number

    The alpha value which controls the transparency of the element, ranging from 0 (fully transparent) to 1 (fully opaque).

    buttonTextAlign: Vector2

    The alignment of text in a button element.

    cellPadding: Vector2

    The padding of table cells of this element.

    childBorderSize: number

    The border size propety of the children of this element.

    childRounding: number

    The window rounding property of children of this element.

    colour: osrs.Ui.Colour

    The color styling table, which contains all properties.

    disabledAlpha: boolean

    Toggles whether the alpha value should be ignored and the object rendered fully opaque.

    frameBorderSize: number

    The width of the frame.

    framePadding: Vector2

    The padding of this frame.

    frameRounding: number

    The rounding of the frame.

    grabMinSize: number

    The width of this element's scrollbar handle.

    grabRounding: number

    The radius rounding of this element's scrollbar handle.

    indentSpacing: number

    The indent offset of children of this element.

    itemInnerspacing: Vector2

    The spacing between children elements.

    itemSpacing: Vector2

    The spacing of children of this element.

    popupBorderSize: number

    The border size propety of pop-up windows.

    popupRounding: number

    The window rounding property of pop-up windows.

    scrollbarRounding: number

    The radius rounding of this element's scrollbar.

    scrollbarSize: number

    The width of this element's scrollbar.

    selectableTextAlign: Vector2

    The alignment of text in a selectable element.

    tabRounding: number

    The rounding of this element's tabs.

    titleAlign: Vector2

    The alignment of the title in the window.

    windowBorderSize: number

    The width of the window border size.

    windowMinSize: Vector2

    The minimum size in width and height of the window.

    windowPadding: Vector2

    The X and Y padding for the UI element.

    windowRounding: number

    The radius, if non-zero, of the window's rounded corners.