Interface: DashedLineOptions
Defined in: src/mobjects/geometry/DashedLine.ts:13
Options for creating a DashedLine
Properties
color?
optionalcolor:string
Defined in: src/mobjects/geometry/DashedLine.ts:28
Stroke color as CSS color string. Default: WHITE (#FFFFFF)
dashLength?
optionaldashLength:number
Defined in: src/mobjects/geometry/DashedLine.ts:24
Approximate length of each dash (Manim CE's dash_length). The dash count
is max(2, ceil(length / dashLength * dashRatio)), and the dashes are
stretched so the line starts and ends with one. Default: 0.05
(Manim CE's DEFAULT_DASH_LENGTH).
dashRatio?
optionaldashRatio:number
Defined in: src/mobjects/geometry/DashedLine.ts:26
Fraction of the line covered by dashes (Manim CE's dashed_ratio). Default: 0.5
end?
optionalend:Vector3Tuple
Defined in: src/mobjects/geometry/DashedLine.ts:17
End point of the line. Default: [1, 0, 0]
start?
optionalstart:Vector3Tuple
Defined in: src/mobjects/geometry/DashedLine.ts:15
Start point of the line. Default: [0, 0, 0]
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/geometry/DashedLine.ts:30
Stroke width in pixels. Default: 4 (Manim's default)