Compares the distance to a given reference point.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public class DistanceToPointComparer
Inheritance: objectDistanceToPointComparer
Constructors
Initializes a new instance of the DistanceToPointComparer class.
C#
public DistanceToPointComparer(Point referencePoint)
The point which sets the reference to which the other points are compared.
Properties
Gets or sets the reference point with respect to which the ordering occurs.
C#
public Point ReferencePoint { get; set; }