Skip to main content

Interface: LineOptions

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

Options for creating a Line

Properties​

color?​

optional color: string

Defined in: src/mobjects/geometry/Line.ts:22

Stroke color as CSS color string. Default: WHITE


end?​

optional end: Vector3Tuple

Defined in: src/mobjects/geometry/Line.ts:20

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


start?​

optional start: Vector3Tuple

Defined in: src/mobjects/geometry/Line.ts:18

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


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/geometry/Line.ts:24

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