Click or drag to resize
PointExtensions Class
Extensions for the Point class.
Inheritance Hierarchy

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram (in Telerik.WinControls.RadDiagram.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
public static class PointExtensions

The PointExtensions type exposes the following members.

Public methodStatic memberAdd(Point, Point)
Adds the specified points together.
Public methodStatic memberAdd(Point, Vector)
Adds the specified point and vector together.
Public methodStatic memberDistance(Point)
Returns the distance of the point to the origin.
Public methodStatic memberDistance(Point, Point)
Returns the distance between the specified points.
Public methodStatic memberDistance(Point, Rect)
Distances to rectangle.
Public methodStatic memberDistancePoint
Distance to rectangle.
Public methodStatic memberDivide
Divides the point with the specified factor.
Public methodStatic memberIsEmpty
Determines whether the specified point is empty.
Public methodStatic memberIsXBetween
Determines whether [is X between] [the specified point].
Public methodStatic memberIsYBetween
Determines whether [is Y between] [the specified point].
Public methodStatic memberMultiply
Multiplies the point with the specified multiplier.
Public methodStatic memberRotate
Rotates the point.
Public methodStatic memberSnap
Snaps a point by changing the X and Y coordinates to the closest value dividable by the snapping value.
Public methodStatic memberSubstract
Subtracts point2 from point1.
Public methodStatic memberSubtract
Subtracts the specified point1.
See Also