Interface: AngleOptions
Defined in: mobjects/geometry/AngleShapes.ts:10
Options for creating an Angle
Properties
axis?
optionalaxis: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?
optionalcolor:string
Defined in: mobjects/geometry/AngleShapes.ts:20
Stroke color. Default: WHITE (matches Manim Python)
decimalPlaces?
optionaldecimalPlaces:number
Defined in: mobjects/geometry/AngleShapes.ts:24
Number of decimal places for angle value display. Default: 2
otherAngle?
optionalotherAngle:boolean
Defined in: mobjects/geometry/AngleShapes.ts:16
If true, display the reflex angle (other side). Default: false
quadrant?
optionalquadrant:1|2|3|4
Defined in: mobjects/geometry/AngleShapes.ts:14
Quadrant for angle indicator (1, 2, 3, or 4). Default: auto-detect
radius?
optionalradius:number
Defined in: mobjects/geometry/AngleShapes.ts:12
Radius of the angle arc. Default: 0.5
showValue?
optionalshowValue:boolean
Defined in: mobjects/geometry/AngleShapes.ts:18
Show the angle value as a label. Default: false
strokeWidth?
optionalstrokeWidth:number
Defined in: mobjects/geometry/AngleShapes.ts:22
Stroke width. Default: 4
unit?
optionalunit:"radians"|"degrees"
Defined in: mobjects/geometry/AngleShapes.ts:26
Display unit for angle. Default: 'radians'