copy method

NodeProps copy()

Implementation

NodeProps copy() {
  NodeProps p = NodeProps();
  p.position = position;
  p.drawChild=drawChild;
  return p;
}