Click or drag to resize
Accord.NET (logo)

IntPointSubtraction Operator (IntPoint, Int32)

Subtraction operator - subtracts scalar from the specified point.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static IntPoint operator -(
	IntPoint point,
	int valueToSubtract
)
Request Example View Source

Parameters

point
Type: AccordIntPoint
Point to decrease coordinates of.
valueToSubtract
Type: SystemInt32
Value to subtract from coordinates of the specified point.

Return Value

Type: IntPoint
Returns new point which coordinates equal to coordinates of the specified point decreased by specified value.
See Also