Declaration

class GSShapeGroup

Declaration

@interface GSShapeGroup : GSShape

Declaration

class GSShapeGroup(GSShape)

Overview

  • The shapes in the shapes array of a group are its direct members. Direct members of a group have a relative depth of 1.

  • The members of a group are all shapes that the group contains, directly, or more deeply in nested groups. Members of a group have a relative depth greater than or equal to 1.

Topics

Creating a Shape Group

Identity

  • The group ID reserved for the root group of a layer.

  • The per-layer identifier of the group.

  • Whether the group is the root of the shape tree.

Direct Members

  • The direct members of the group.

Membership

  • Returns whether the given shape is a member of the group.

  • Returns the relative depth of the shape within 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).

Traversal

Drawing

Copying

  • Creates a copy of the group and all of its members.

Structures

Instance Methods

Topics

Creating a Shape Group

Identity

Direct Members

  • The direct members of the group.

Membership

Traversal

Drawing

Copying

Instance Methods

Other

Relationships

Inherits From

Conforms To

Relationships

Inherits From

Conforms To

See Also

Shapes

  • An abstract base class for graphical elements stored in a glyph layer.

  • A graphical path made of nodes.

  • A reference to another glyph placed as a shape in a glyph layer.