Skip to main content

Interface: ArrowOptions

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

Options for creating an Arrow

Properties

color?

optional color: string

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

Stroke color as CSS color string. Default: WHITE (#FFFFFF)


end?

optional end: Vector3Tuple

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

End point of the arrow (where the tip points). Default: [1, 0, 0]


start?

optional start: Vector3Tuple

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

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


strokeWidth?

optional strokeWidth: number

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

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


tipLength?

optional tipLength: number

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

Length of the arrowhead tip. Default: 0.3


tipWidth?

optional tipWidth: number

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

Width of the arrowhead base. Default: 0.1