public SvgRect(RectangleF rect) { this.x = rect.X; this.y = rect.Y; this.width = rect.Width; this.height = rect.Height; }