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