ClassPointExtensions
Extensions for the Point class.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public static class PointExtensions
Inheritance: objectPointExtensions
Methods
Add(Point, Point)
Adds the specified points together.
Add(Point, Vector)
Adds the specified point and vector together.
Distance(Point)
Returns the distance of the point to the origin.
Distance(Point, Point)
Returns the distance between the specified points.
Distance(Point, Rect)
Distances to rectangle.
DistancePoint(Point, Rect)
Distance to rectangle.
Divide(Point, double)
Divides the point with the specified factor.
IsEmpty(Point)
Determines whether the specified point is empty.
IsXBetween(Point, Point, Point)
Determines whether [is X between] [the specified point].
IsYBetween(Point, Point, Point)
Determines whether [is Y between] [the specified point].
Multiply(Point, double)
Multiplies the point with the specified multiplier.
Rotate(Point, Point, double)
Rotates the point.
Snap(Point, int, int)
Snaps a point by changing the X and Y coordinates to the closest value dividable by the snapping value.
Substract(Point, Point)
Subtracts point2 from point1.
Subtract(Point, Point)
Subtracts the specified point1.