Skip to main content

Interface: BooleanOperationOptions

Defined in: src/mobjects/geometry/BooleanOperations.ts:38

Options for boolean operations

Properties​

color?​

optional color: string

Defined in: src/mobjects/geometry/BooleanOperations.ts:40

Stroke color. Default: inherited from first shape


fillColor?​

optional fillColor: string

Defined in: src/mobjects/geometry/BooleanOperations.ts:42

Fill color (separate from stroke). If set, overrides color for fill.


fillOpacity?​

optional fillOpacity: number

Defined in: src/mobjects/geometry/BooleanOperations.ts:44

Fill opacity. Default: inherited from first shape


samplesPerSegment?​

optional samplesPerSegment: number

Defined in: src/mobjects/geometry/BooleanOperations.ts:48

Number of samples per Bezier segment for polygon approximation. Default: 8


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/geometry/BooleanOperations.ts:46

Stroke width. Default: inherited from first shape