Skip to main content

Interface: LabeledArrowOptions

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

Options for creating a LabeledArrow

Extends

Properties

color?

optional color: string

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

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

Inherited from

ArrowOptions.color


end?

optional end: Vector3Tuple

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

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


label

label: string

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

Text label content


labelColor?

optional labelColor: string

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

Color for label text. Default: same as arrow color


labelFontSize?

optional labelFontSize: number

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

Font size for label. Default: 36


labelOffset?

optional labelOffset: number

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

Distance of label from arrow. Default: 0.25


labelOrientation?

optional labelOrientation: LabelOrientation

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

Label orientation relative to arrow. Default: 'parallel'


labelPosition?

optional labelPosition: number

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

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:274

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


strokeWidth?

optional strokeWidth: number

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

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

Inherited from

ArrowOptions.strokeWidth


tipLength?

optional tipLength: number

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

Length of the arrowhead tip. Default: 0.3

Inherited from

ArrowOptions.tipLength


tipWidth?

optional tipWidth: number

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

Width of the arrowhead base. Default: 0.1

Inherited from

ArrowOptions.tipWidth