BackgroundRectangle constructor

BackgroundRectangle({
  1. double buff = 0,
  2. required Mobject mobject,
  3. Color color = BLACK,
})

Implementation

BackgroundRectangle({
  double buff = 0,
  required Mobject mobject,
  Color color = BLACK,
}) : super(buff: buff, mobject: mobject, color: color) {
  originalFillOpacity = getFillColor().a;
}