public static void Rectangle(this Graphics2D gx, RectInt rect, ColorRGBA color) { gx.Rectangle(rect.Left, rect.Bottom, rect.Right, rect.Top, color); }
public static void Rectangle(this Graphics2D gx, RectD rect, ColorRGBA color, double strokeWidth = 1) { gx.Rectangle(rect.Left, rect.Bottom, rect.Right, rect.Top, color, strokeWidth); }