Skip to main content

Interface: SectorOptions

Defined in: mobjects/geometry/Sector.ts:8

Options for creating a Sector

Properties

angle?

optional angle: number

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

Arc angle (span) in radians. Default: PI/2


center?

optional center: Vector3Tuple

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

Center position. Default: [0, 0, 0]


color?

optional color: string

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

Stroke color as CSS color string. Default: Manim's blue (#58C4DD)


fillOpacity?

optional fillOpacity: number

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

Fill opacity from 0 to 1. Default: 0.5


numComponents?

optional numComponents: number

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

Number of Bezier segments for approximation. Default: 8


radius?

optional radius: number

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

Radius of the sector. Default: 1


startAngle?

optional startAngle: number

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

Start angle in radians. Default: 0


strokeWidth?

optional strokeWidth: number

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

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