Beispiel #1
0
        /// <summary>
        /// Create point for given connector with given view angle.
        /// </summary>
        /// <param name="connector">Connector which point is created.</param>
        /// <param name="view">View angle of created point.</param>
        /// <returns>Created point.</returns>
        private GraphPoint createPoint(ConnectorDrawing connector, ViewAngle view)
        {
            var position = connector.GlobalConnectPoint;

            return(new GraphPoint(position, view, connector.OwningItem));
        }
 internal GraphPoint(Point position, ViewAngle view, DiagramItem owningItem)
 {
     Position   = position;
     View       = view;
     OwningItem = owningItem;
 }