public NodeObject MakeNode() { NodeObject node = new NodeObject(); DrawableObjects.Add(node); return(node); }
public NodeObject MakeNode() { NodeObject node = new NodeObject(borderPen, nodeBackgroundBrush); DrawableObjects.Add(node); return(node); }
private void CreateNode() { NodeObject newNode = new NodeObject(); ActivateNode(newNode); nodes.Add(newNode); DrawableObjects.Add(newNode); }
public FreeHandRegion(Image backgroundImage = null) : base(backgroundImage) { points = new List<Point>(128); regionFillPath = new GraphicsPath(); lastNode = new NodeObject(); DrawableObjects.Add(lastNode); }
public FreeHandRegion(Image backgroundImage = null) : base(backgroundImage) { points = new List <Point>(128); regionFillPath = new GraphicsPath(); lastNode = new NodeObject(); DrawableObjects.Add(lastNode); }
private NodeObject CreateNode() { NodeObject newNode = new NodeObject(borderPen, nodeBackgroundBrush); ActivateNode(newNode); nodes.Add(newNode); DrawableObjects.Add(newNode); return(newNode); }
private void ActivateNode(NodeObject node) { node.Position = InputManager.MousePosition0Based; node.Visible = true; node.IsDragging = true; }
public NodeObject MakeNode() { NodeObject node = new NodeObject(borderPen, nodeBackgroundBrush); DrawableObjects.Add(node); return node; }
public NodeObject MakeNode() { NodeObject node = new NodeObject(); DrawableObjects.Add(node); return node; }
private NodeObject CreateNode() { NodeObject newNode = new NodeObject(borderPen, nodeBackgroundBrush); ActivateNode(newNode); nodes.Add(newNode); DrawableObjects.Add(newNode); return newNode; }