Instance Method
depthOfShape:depthOfShape:depthOfShape_
Returns the relative depth of the shape within the group.
Not available in Swift.
Declaration
- (NSInteger) depthOfShape:(GSShape *) shape;Declaration
depthOfShape_(shape: GSShape) -> intDiscussion
0 if the shape is the receiver and -1 if the group does not contain the shape.
See Also
Membership
Returns whether the given shape is a member of the group.
The range of layer shape indices that includes all group members and the index of the group shape itself (which is always at the last index of the range).