fillRect method
Implementation
int fillRect(math.Rectangle<double>? rect, int color) {
int result;
Pointer<SdlRect> rectPointer = nullptr;
if (rect != null) {
rectPointer = rect.calloc();
}
result = sdlFillRect(this, rectPointer, color);
calloc.free(rectPointer);
return result;
}