Click or drag to resize

GdiExtensionMethodsSubtract Method

Subtracts one point from another.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static PointF Subtract(
	this PointF p1,
	PointF p2
)

Parameters

p1  PointF
The point from which to subtract.
p2  PointF
The point to subtract.

Return Value

PointF
The resulting difference vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PointF. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also