Svg.SvgExtentions.SetRectangle C# (CSharp) Method

SetRectangle() public static method

public static SetRectangle ( this r, RectangleF bounds ) : void
r this
bounds System.Drawing.RectangleF
return void
        public static void SetRectangle(this SvgRectangle r, RectangleF bounds)
        {
            r.X = bounds.X;
            r.Y = bounds.Y;
            r.Width = bounds.Width;
            r.Height = bounds.Height;
        }