Skip to main content

DrawPreviewBox

Callable

  • DrawPreviewBox(X: number, Y: number, Path: string, Description: string, Options?: PreviewDrawOptions): void

  • Draws an item preview box for the provided image path


    Parameters

    • X: number

      Position of the preview box on the X axis

    • Y: number

      Position of the preview box on the Y axis

    • Path: string

      The path of the image to draw

    • Description: string

      The preview box description

    • optionalOptions: PreviewDrawOptions

      Additional optional drawing options

    Returns void

    • Nothing