Interface: SurroundingRectangleOptions
Defined in: mobjects/geometry/ShapeMatchers.ts:152
Options for creating a SurroundingRectangle
Properties
buff?
optionalbuff:number
Defined in: mobjects/geometry/ShapeMatchers.ts:154
Padding around the mobject. Default: 0.2
color?
optionalcolor:string
Defined in: mobjects/geometry/ShapeMatchers.ts:156
Stroke color. Default: YELLOW
cornerRadius?
optionalcornerRadius:number
Defined in: mobjects/geometry/ShapeMatchers.ts:158
Corner radius for rounded corners. Default: 0 (sharp corners)
fillOpacity?
optionalfillOpacity:number
Defined in: mobjects/geometry/ShapeMatchers.ts:162
Fill opacity. Default: 0 (no fill)
strokeWidth?
optionalstrokeWidth:number
Defined in: mobjects/geometry/ShapeMatchers.ts:160
Stroke width. Default: 4 (Manim's default)