public void SetNodeLocation(int nodeIndex, int x, int y) { SegmentedShapeNode node = this.nodes.Get()[nodeIndex]; node.X = x; node.Y = y; }
public void MoveNode(int nodeIndex, int offsetX, int offsetY) { SegmentedShapeNode node = this.nodes.Get()[nodeIndex]; node.X += offsetX; node.Y += offsetY; }