Skip to main content

DrawBackNextButton

Callable

  • DrawBackNextButton(Left, Top, Width, Height, Label, Color, Image, BackText, NextText, Disabled, ArrowWidth): 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 = null

      Image URL to draw in the component

    • optionalBackText: () => string = null

      Text for the back button tooltip

      • optionalNextText: () => string = null

        Text for the next button tooltip

        • optionalDisabled: boolean = false

          Disables the hovering options if set to true

        • optionalArrowWidth: number = null

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

        Returns void

        • Nothing