drawRect method

void drawRect(
  1. XVRect rect,
  2. XVColor color, {
  3. bool fill = false,
})

Draws an unfilled or filled rectangle.

Parameters:

  • rect: The rectangle region boundaries.
  • color: The color of the rectangle border or fill.
  • fill: If true, fills the rectangle solid (default: false).

Implementation

void drawRect(XVRect rect, XVColor color, {bool fill = false}) {
  DrawingProcessor.drawRect(this, rect, color, fill: fill);
}