Ejemplo n.º 1
0
 public Edge(double axisDistance, Range range, Orientation orientation)
 {
     this.Range = range;
     AxisDistance = axisDistance;
     
     Orientation = orientation;            
 }
        private void AddVerticalEdges(ICanvasItem canvasItem)
        {
            var range = new Range(canvasItem.Top, canvasItem.Top + canvasItem.Height);

            Edges.Add(new Edge(canvasItem.Left, range, Orientation.Vertical));
            Edges.Add(new Edge(canvasItem.Right, range, Orientation.Vertical));
        }
Ejemplo n.º 3
0
 public Edge(Range range, Orientation orientation, double axisDistance)
 {
     Range = range;
     Orientation = orientation;
     AxisDistance = axisDistance;
 }