Example #1
0
        internal NodeObject MakeNode()
        {
            NodeObject node = new NodeObject();

            DrawableObjects.Add(node);
            return(node);
        }
Example #2
0
 public FreeHandRegion()
 {
     points = new List<Point>(128);
     regionFillPath = new GraphicsPath();
     lastNode = new NodeObject() { Shape = NodeShape.Circle };
     DrawableObjects.Add(lastNode);
 }
Example #3
0
 public FreeHandRegion()
 {
     points         = new List <Point>(128);
     regionFillPath = new GraphicsPath();
     lastNode       = new NodeObject()
     {
         Shape = NodeShape.Circle
     };
     DrawableObjects.Add(lastNode);
 }
Example #4
0
        private void CreateNode()
        {
            NodeObject newNode = new NodeObject()
            {
                Shape = NodeShape.Diamond
            };

            ActivateNode(newNode);
            nodes.Add(newNode);
            DrawableObjects.Add(newNode);
        }
Example #5
0
 internal NodeObject MakeNode()
 {
     NodeObject node = new NodeObject();
     DrawableObjects.Add(node);
     return node;
 }
Example #6
0
 private void CreateNode()
 {
     NodeObject newNode = new NodeObject() { Shape = NodeShape.Diamond };
     ActivateNode(newNode);
     nodes.Add(newNode);
     DrawableObjects.Add(newNode);
 }
Example #7
0
 private void ActivateNode(NodeObject node)
 {
     node.Position = InputManager.MousePosition0Based;
     node.Visible = true;
     node.IsDragging = true;
 }
Example #8
0
 private void ActivateNode(NodeObject node)
 {
     node.Position   = InputManager.MousePosition0Based;
     node.Visible    = true;
     node.IsDragging = true;
 }