Skip to main content

Interface: FullScreenFadeRectangleOptions

Defined in: src/mobjects/frame/index.ts:221

Options for creating a FullScreenFadeRectangle

Extends​

Properties​

center?​

optional center: Vector3Tuple

Defined in: src/mobjects/frame/index.ts:116

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

Inherited from​

FullScreenRectangleOptions.center


color?​

optional color: string

Defined in: src/mobjects/frame/index.ts:104

Fill color. Default: BLACK (#000000)

Inherited from​

FullScreenRectangleOptions.color


frameHeight?​

optional frameHeight: number

Defined in: src/mobjects/frame/index.ts:114

Frame height in world units. Default: DEFAULT_FRAME_HEIGHT (8)

Inherited from​

FullScreenRectangleOptions.frameHeight


frameWidth?​

optional frameWidth: number

Defined in: src/mobjects/frame/index.ts:112

Frame width in world units. Default: DEFAULT_FRAME_WIDTH (14.222)

Inherited from​

FullScreenRectangleOptions.frameWidth


opacity?​

optional opacity: number

Defined in: src/mobjects/frame/index.ts:226

Initial opacity for the fade. Default: 0 (invisible)


strokeColor?​

optional strokeColor: string

Defined in: src/mobjects/frame/index.ts:110

Stroke color. Default: same as fill color

Inherited from​

FullScreenRectangleOptions.strokeColor


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/frame/index.ts:108

Stroke width in pixels. Default: 0 (no stroke)

Inherited from​

FullScreenRectangleOptions.strokeWidth