Skip to main content

Interface: AngleOptions

Defined in: mobjects/geometry/AngleShapes.ts:10

Options for creating an Angle

Properties

axis?

optional axis: Vector3Tuple

Defined in: mobjects/geometry/AngleShapes.ts:34

Rotation axis / plane normal. Fixes the reference plane so the angle is measured continuously in [0, 2π) (or (-2π, 0] with otherAngle) as the second direction sweeps around. Without it, the plane is inferred from dir1 × dir2, which flips sign once the angle exceeds π in 3D. In 2D (both directions in the XY plane) the default is [0, 0, 1].


color?

optional color: string

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

Stroke color. Default: WHITE (matches Manim Python)


decimalPlaces?

optional decimalPlaces: number

Defined in: mobjects/geometry/AngleShapes.ts:24

Number of decimal places for angle value display. Default: 2


otherAngle?

optional otherAngle: boolean

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

If true, display the reflex angle (other side). Default: false


quadrant?

optional quadrant: 1 | 2 | 3 | 4

Defined in: mobjects/geometry/AngleShapes.ts:14

Quadrant for angle indicator (1, 2, 3, or 4). Default: auto-detect


radius?

optional radius: number

Defined in: mobjects/geometry/AngleShapes.ts:12

Radius of the angle arc. Default: 0.5


showValue?

optional showValue: boolean

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

Show the angle value as a label. Default: false


strokeWidth?

optional strokeWidth: number

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

Stroke width. Default: 4


unit?

optional unit: "radians" | "degrees"

Defined in: mobjects/geometry/AngleShapes.ts:26

Display unit for angle. Default: 'radians'