Skip to main content

PropertyOpacityDraw

Callable

  • PropertyOpacityDraw(Data: ExtendedItemData<any>, OriginalFunction: () => void, XOffset?: number, YOffset?: number, LabelKeyword?: string): void

  • Draw function for items with opacity sliders. Draws the opacity slider and further opacity-related information.


    Parameters

    • Data: ExtendedItemData<any>

      The items extended item data

    • OriginalFunction: () => void

      The function that is normally called when an archetypical item reaches this point (if any).

      • XOffset: number = 0

        An offset for all text and slider X coordinates

      • YOffset: number = 0

        An offset for all text and slider Y coordinates

      • LabelKeyword: string = "OpacityLabel"

        The keyword of the opacity label

      Returns void

      Nothing