fillRect method

int fillRect(
  1. Rectangle<double>? rect
)

Implementation

int fillRect(math.Rectangle<double>? rect) {
  Pointer<SdlRect> rectPointer = nullptr;
  if (rect != null) {
    rectPointer = rect.calloc();
  }
  // 1755
  var result = sdlRenderFillRect(this, rectPointer);
  calloc.free(rectPointer);
  return result;
}