drawBG method

void drawBG(
  1. int hdc, {
  2. int? bgColor,
})

Paint operation: draws this Window background.

Implementation

void drawBG(int hdc, {int? bgColor}) {
  bgColor ??= this.bgColor;

  if (bgColor != null) {
    fillRect(hdc, bgColor, pRect: dimension);
  }
}