Skip to main content

Interface: LineOptions

Defined in: mobjects/geometry/Line.ts:8

Options for creating a Line

Properties

color?

optional color: string

Defined in: mobjects/geometry/Line.ts:14

Stroke color as CSS color string. Default: WHITE


end?

optional end: Vector3Tuple

Defined in: mobjects/geometry/Line.ts:12

End point of the line. Default: [1, 0, 0]


start?

optional start: Vector3Tuple

Defined in: mobjects/geometry/Line.ts:10

Start point of the line. Default: [0, 0, 0]


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/geometry/Line.ts:16

Stroke width in pixels. Default: 4 (Manim's default)