SiliconGhetto Engine API
    Preparing search index...

    Function drawLine

    • Draw a line between two points.

      Parameters

      • x1: number

        Start X position

      • y1: number

        Start Y position

      • x2: number

        End X position

      • y2: number

        End Y position

      • opts: LineOpts = {}

        Line style options (thickness, r, g, b, a)

      Returns void