paint method

  1. @override
void paint(
  1. PCanvas pCanvas
)
override

The paint operation of this element.

Implementation

@override
void paint(PCanvas pCanvas) {
  var style = this.style;
  if (style != null) {
    pCanvas.fillRect(x, y, width, height, style);
  }
}