Skip to main content

Interface: FullScreenRectangleOptions

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

Options for creating a FullScreenRectangle

Properties​

center?​

optional center: Vector3Tuple

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

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


color?​

optional color: string

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

Fill color. Default: BLACK (#000000)


fillOpacity?​

optional fillOpacity: number

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

Fill opacity from 0 to 1. Default: 1


frameHeight?​

optional frameHeight: number

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

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


frameWidth?​

optional frameWidth: number

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

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


strokeColor?​

optional strokeColor: string

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

Stroke color. Default: same as fill color


strokeWidth?​

optional strokeWidth: number

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

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