Skip to main content

DrawEmptyRect

Callable

  • DrawEmptyRect(Left: number, Top: number, Width: number, Height: number, Color: string, Thickness?: number): void

  • Draws a basic empty rectangle with a colored outline


    Parameters

    • Left: number

      Position of the rectangle from the left of the canvas

    • Top: number

      Position of the rectangle from the top of the canvas

    • Width: number

      Width of the rectangle

    • Height: number

      Height of the rectangle

    • Color: string

      Color of the rectangle outline

    • optionalThickness: number = 3

      Thickness of the rectangle line

    Returns void

    • Nothing