예제 #1
0
 public BranchContext(ShapeWrapper branchParent,
                      NodesBranchRelation branchRelation = NodesBranchRelation.SAME_BRANCH, Point branchOffset = default)
 {
     BranchParent         = branchParent;
     ShapeToContinueThree = branchParent;
     BranchRelation       = branchRelation;
     LastBranchShape      = branchParent;
     BranchOffset         = branchOffset;
 }
예제 #2
0
 public void ChangeBranchParent(ShapeWrapper shape)
 {
     BranchParent = shape;
 }
예제 #3
0
 public void ContinueTreeWithShape(ShapeWrapper shape)
 {
     ShapeToContinueThree = shape;
 }
예제 #4
0
 public void SetLastShape(ShapeWrapper shape)
 {
     LastBranchShape = shape;
 }