Type

DrawLineOpt

: Omit<RenderProps, "angle" | "scale"> & {

p1

: Vec2

Starting point of the line.

p2

: Vec2

Ending point of the line.

width

?: number

The width, or thickness of the line,

}

How the line should look like.

kaplay logo

Layer

Miscalenous