Skip to main content

Interface: BackgroundRectangleOptions

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

Options for creating a BackgroundRectangle

Properties

buff?

optional buff: number

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

Padding around the mobject. Default: 0.2


color?

optional color: string

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

Background fill color. Default: BLACK (#000000)


fillOpacity?

optional fillOpacity: number

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

Fill opacity. Default: 0.75


strokeWidth?

optional strokeWidth: number

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

Stroke width. Default: 0 (no stroke)