Skip to main content

Interface: CutoutOptions

Defined in: src/mobjects/geometry/PolygonExtensions.ts:701

Options for creating a Cutout

Properties​

color?​

optional color: string

Defined in: src/mobjects/geometry/PolygonExtensions.ts:707

Stroke color as CSS color string. Default: inherits from outer shape


fillOpacity?​

optional fillOpacity: number

Defined in: src/mobjects/geometry/PolygonExtensions.ts:709

Fill opacity from 0 to 1. Default: inherits from outer shape


innerShape​

innerShape: VMobject

Defined in: src/mobjects/geometry/PolygonExtensions.ts:705

The inner shape (the hole, must be a VMobject). Required.


outerShape​

outerShape: VMobject

Defined in: src/mobjects/geometry/PolygonExtensions.ts:703

The outer shape (must be a VMobject). Required.


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/geometry/PolygonExtensions.ts:711

Stroke width in pixels. Default: inherits from outer shape