Instance Method
enumerateMembers(_:) enumerateMembersWithBlock: enumerateMembersWithBlock_
Calls the block with every member of the group, including nested shapes.
Declaration
func enumerateMembers(_ code: @escaping @Sendable (GSShape) -> Void)func enumerateMembers() async -> GSShapeDeclaration
- (void) enumerateMembersWithBlock:(void (^)(GSShape *member)) code;Declaration
enumerateMembersWithBlock_(
member: GSShape,
code
)Discussion
The order is the same as the order on layer.shapes, i.e., the compositing order (bottom to top).
This enumeration also works when the shape group does not belong to a layer.