Type

DrawLinesOpt

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

pts

: Vec2[]

The points that should be connected with a line.

width

?: number

The width, or thickness of the lines,

radius

?: number | number[]

The radius of each corner.

join

?: LineJoin

Line join style (default "none").

cap

?: LineCap

Line cap style (default "none").

bias

?: number

Line bias, the position of the line relative to its center (default 0).

miterLimit

?: number

Maximum miter length, anything longer becomes bevel.

}

How the lines should look like.

kaplay logo

Layer

Miscalenous