Skip to main content

Interface: LabeledArrowOptions

Defined in: mobjects/geometry/LabeledGeometry.ts:271

Options for creating a LabeledArrow

Extends

Properties

color?

optional color: string

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

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

Inherited from

ArrowOptions.color


end?

optional end: Vector3Tuple

Defined in: mobjects/geometry/LabeledGeometry.ts:275

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


label

label: string

Defined in: mobjects/geometry/LabeledGeometry.ts:277

Text label content


labelColor?

optional labelColor: string

Defined in: mobjects/geometry/LabeledGeometry.ts:287

Color for label text. Default: same as arrow color


labelFontSize?

optional labelFontSize: number

Defined in: mobjects/geometry/LabeledGeometry.ts:285

Font size for label. Default: 36


labelOffset?

optional labelOffset: number

Defined in: mobjects/geometry/LabeledGeometry.ts:283

Distance of label from arrow. Default: 0.25


labelOrientation?

optional labelOrientation: LabelOrientation

Defined in: mobjects/geometry/LabeledGeometry.ts:281

Label orientation relative to arrow. Default: 'parallel'


labelPosition?

optional labelPosition: number

Defined in: mobjects/geometry/LabeledGeometry.ts:279

Position of label along arrow (0 = start, 0.5 = midpoint, 1 = end). Default: 0.5


start?

optional start: Vector3Tuple

Defined in: mobjects/geometry/LabeledGeometry.ts:273

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)

Inherited from

ArrowOptions.strokeWidth


tipLength?

optional tipLength: number

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

Length of the arrowhead tip. Default: 0.3

Inherited from

ArrowOptions.tipLength


tipWidth?

optional tipWidth: number

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

Width of the arrowhead base. Default: 0.1

Inherited from

ArrowOptions.tipWidth