ReparentToCommonSubGraph Method
In This Topic
Change the
Parent of an object to be the common subgraph that contains two given objects, or if there is no such subgraph, add the object to the given layer.
Syntax
Parameters
- obj
- the GoObject to reparent
- child1
- an object that may belong to a GoSubGraphBase
- child2
- another object that may belong to a GoSubGraphBase
- behind
- whether to add the at the beginning of the list of the subgraph's children (thus behind all other subgraph children), or at the end of the list (thus appearing in front of all the other subgraph children)
- layer
- the GoLayer to which the should be added, if there is no common parent GoSubGraphBase for and
See Also