drawLines(opt: DrawLinesOpt): void

Draw lines.

paramopt- The draw lines options.

drawLines({
    pts: [ vec2(0), vec2(0, height()), mousePos() ],
    width: 4,
    pos: vec2(100, 200),
    color: rgb(0, 0, 255),
});

sincev3000.0

kaplay logo

Misc

Layer