DrawRectanglePro method
Draw a color-filled rectangle with pro parameters
Implementation
void DrawRectanglePro(
RectangleD rec,
Vector2D origin,
num rotation,
ColorD color,
) => run(
() => _debugLabels.DrawRectanglePro(rec, origin, rotation, color),
() => _flat.DrawRectanglePro(
rec,
origin,
rotation.toDouble(),
color,
),
);