DrawCanvasPreview
Callable
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
Draws an item preview box using the provided canvas