Point::Subtraction Operator (Point, Vector)

 

Subtracts the specified Vector from the specified Point and returns the resulting Point.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public:
static Point operator -(
	Point point,
	Vector vector
)

Parameters

point
Type: System.Windows::Point

The point from which vector is subtracted.

vector
Type: System.Windows::Vector

The vector to subtract from point1

Return Value

Type: System.Windows::Point

The difference between point and vector.

The following example shows how to subtract a Vector from a Point using the overloaded (-) operator.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: