The parent of this layer; can be null.

Offset values are calculated to counterbalance any transforms above this layer in the hierarchy, so that when you set the parent there is no apparent jump in the layer’s transform. For example, if the new parent has a rotation of 30 degrees, the child layer is assigned a rotation of -30 degrees.

To set the parent without changing the child layer’s transform values, use the setParentWithJump method.


Layer object or null; read/write.

Other Tags

Posted in Layer object and tagged , , , , , , , , , , , .