Declaration

var parentGroup: GSShapeGroup? { get }

Declaration

@property (nonatomic, readonly) GSShapeGroup * parentGroup;

Declaration

parentGroup() -> GSShapeGroup

Discussion

An ungrouped shape in a layer belongs to the layer’s root group. The value is nil when the shape does not belong to a layer or its parent group cannot be resolved.

See Also

Shape Hierarchy