Skip to main content

Interface: AngleOptions

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

Options for creating an Angle

Properties

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'