Skip to main content

DrawCanvasPreview

Callable

  • DrawCanvasPreview(X: number, Y: number, Canvas: HTMLCanvasElement, Description: string, Options: PreviewDrawOptions): void

  • Draws an item preview box using the provided canvas


    Parameters

    • X: number

      Position of the preview box on the X axis

    • Y: number

      Position of the preview box on the Y axis

    • Canvas: HTMLCanvasElement

      The canvas element containing the image to draw

    • Description: string

      The preview box description

    • Options: PreviewDrawOptions

      Additional optional drawing options

    Returns void

    • Nothing