Skip to content

@bloopjs/toodle


@bloopjs/toodle / Toodle / LineOptions

Type Alias: LineOptions

LineOptions = object

Defined in: Toodle.ts:797

Properties

color

color: Color

Defined in: Toodle.ts:809

The color of the line.


end

end: Point

Defined in: Toodle.ts:805

The end position of the line.


key?

optional key: string

Defined in: Toodle.ts:825

A unique identifier for the line.


layer?

optional layer: number

Defined in: Toodle.ts:821

The layer to draw the line on.


shader?

optional shader: IBackendShader

Defined in: Toodle.ts:817

The shader to use for the line.


start

start: Point

Defined in: Toodle.ts:801

The start position of the line.


thickness?

optional thickness: number

Defined in: Toodle.ts:813

The thickness of the line.