System.Windows.Forms.PointExtenders.Add C# (CSharp) Méthode

Add() public static méthode

public static Add ( this orgPoint, SizeF size ) : PointF
orgPoint this
size System.Drawing.SizeF
Résultat System.Drawing.PointF
		public static PointF Add (this PointF orgPoint, SizeF size)
		{
			var x = orgPoint.X + size.Width;
			var y = orgPoint.Y + size.Height;
			return new PointF (x, y);
		}

Same methods

PointExtenders::Add ( this orgPoint, Point point ) : Point
PointExtenders::Add ( this orgPoint, PointF point ) : PointF
PointExtenders::Add ( this orgPoint, Size size ) : PointF
PointExtenders