Skip to main content

DrawBackNextButton

Callable

  • DrawBackNextButton(Left: number, Top: number, Width: number, Height: number, Label: string, Color: string, Image?: string, BackText?: () => string, NextText?: () => string, Disabled?: boolean, ArrowWidth?: number): void

  • Draw a back & next button 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

    • Label: string

      Text inside the component

    • Color: string

      Color of the component

    • optionalImage: string

      Image URL to draw in the component

    • optionalBackText: () => string

      Text for the back button tooltip

      • optionalNextText: () => string

        Text for the next button tooltip

        • optionalDisabled: boolean

          Disables the hovering options if set to true

        • optionalArrowWidth: number

          How much of the button the previous/next sections cover. By default, half each.

        Returns void

        • Nothing