Skip to main content

DrawCheckbox

Callable

  • DrawCheckbox(Left, Top, Width, Height, Text, IsChecked, Disabled, TextColor, CheckImage): void

  • Draws a checkbox component


    Parameters

    • Left: number

      Position of the component from the left of the canvas

    • Top: number

      Position of the component from the top of the canvas

    • Width: number

      Width of the component

    • Height: number

      Height of the component

    • Text: string

      Label associated with the checkbox

    • IsChecked: boolean

      Whether or not the checkbox is checked

    • optionalDisabled: boolean = false

      Disables the hovering options if set to true

    • optionalTextColor: string = "Black"

      Color of the text

    • CheckImage: string = "Icons/Checked.png"

    Returns void

    • Nothing