ShapeTransform (int x, int y, int width, int height) { if (width <= 0 || height <= 0) return this; return moveTo(x, y).lineTo(x + deltaX(width), y).lineTo(x + deltaX(width), y + deltaY(height)).lineTo(x, y + deltaY(height)).closePath(); }