public static void DrawRect(int x1, int y1, int width, int height) { D2D.DrawRectangle(new RectangleF(x1, y1, width, height), _currentColor); }