public RectangleD(PointD location, SizeD size) { Left = 0; Right = 0; Top = 0; Bottom = 0; X = location.X; Y = location.Y; Width = size.Width; Height = size.Height; }
public PointD(SizeD size) { X = size.Width; Y = size.Height; }
public static SizeD Add(SizeD sz1, SizeD sz2) { sz1 += sz2; return(sz1); }
public static SizeD Subtract(SizeD sz1, SizeD sz2) { sz1 -= sz2; return(sz1); }
public SizeD(SizeD size) { Width = size.Width; Height = size.Height; }