Class LatticeDictionary
Dictionary of Points needed in GridRouter.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class LatticeDictionary : Dictionary<Point, PathNode>
Constructors
LatticeDictionary(Func<Point, Boolean>, Boolean)
Initializes a new instance of the LatticeDictionary class.
Declaration
public LatticeDictionary(Func<Point, bool> locationDelegate, bool autoCreate = false)
Parameters
System.Func<System.Windows.Point, System.Boolean>
locationDelegate
The location delegate. |
System.Boolean
autoCreate
If set to |
Properties
Bounds
Gets or sets the bounds.
Declaration
public Rect Bounds { get; set; }
Property Value
System.Windows.Rect
The bounds. |
EndPoint
Gets or sets the end point.
Declaration
public Point EndPoint { get; set; }
Property Value
System.Windows.Point
The end point. |
Item[Point]
Gets or sets the PathNode with the specified point.
Declaration
public PathNode this[Point point] { get; set; }
Parameters
System.Windows.Point
point
|
Property Value
PathNode
|
StartPoint
Gets or sets the start point.
Declaration
public Point StartPoint { get; set; }
Property Value
System.Windows.Point
The start point. |