Evbpc.Framework.Drawing.Size.Size C# (CSharp) Method

Size() public method

Constructs a new instance of Size from the specified Point.
The Point.X will become the Width and the Point.Y will be the Height.
public Size ( Point pt ) : System
pt Point The to construct the from.
return System
        public Size(Point pt)
        {
            Width = pt.X;
            Height = pt.Y;
        }

Same methods

Size::Size ( int width, int height ) : System