Accord.IntPoint.Add C# (CSharp) Method

Add() public static method

Addition operator - adds scalar to the specified point.
public static Add ( IntPoint point, int valueToAdd ) : IntPoint
point IntPoint Point to increase coordinates of.
valueToAdd int Value to add to coordinates of the specified point.
return IntPoint
        public static IntPoint Add( IntPoint point, int valueToAdd )
        {
            return new IntPoint( point.X + valueToAdd, point.Y + valueToAdd );
        }

Same methods

IntPoint::Add ( IntPoint point1, IntPoint point2 ) : IntPoint