Skip to content

@blooper.gg/toodle


@blooper.gg/toodle / Toodle / LineOptions

Type Alias: LineOptions

LineOptions = object

Defined in: Toodle.ts:680

Properties

color

color: Color

Defined in: Toodle.ts:692

The color of the line.


end

end: Point

Defined in: Toodle.ts:688

The end position of the line.


key?

optional key: string

Defined in: Toodle.ts:708

A unique identifier for the line.


layer?

optional layer: number

Defined in: Toodle.ts:704

The layer to draw the line on.


shader?

optional shader: IShader

Defined in: Toodle.ts:700

The shader to use for the line.


start

start: Point

Defined in: Toodle.ts:684

The start position of the line.


thickness?

optional thickness: number

Defined in: Toodle.ts:696

The thickness of the line.