Skip to main content

Interface: DashedLineOptions

Defined in: mobjects/geometry/DashedLine.ts:9

Options for creating a DashedLine

Properties

color?

optional color: string

Defined in: mobjects/geometry/DashedLine.ts:19

Stroke color as CSS color string. Default: Manim's blue (#58C4DD)


dashLength?

optional dashLength: number

Defined in: mobjects/geometry/DashedLine.ts:15

Length of each dash. Default: 0.1


dashRatio?

optional dashRatio: number

Defined in: mobjects/geometry/DashedLine.ts:17

Ratio of dash length to total (dash + gap). Default: 0.5


end?

optional end: Vector3Tuple

Defined in: mobjects/geometry/DashedLine.ts:13

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


start?

optional start: Vector3Tuple

Defined in: mobjects/geometry/DashedLine.ts:11

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


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/geometry/DashedLine.ts:21

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