Declaration

class GSShape

Declaration

@interface GSShape : GSBaseObject

Declaration

class GSShape(GSBaseObject)

Overview

Shapes are stacked to form the composition of a GSLayer.

When the parent (layer) of a shape is not set, many of it’s APIs cannot work to their full extend. This is because a shape frequently needs to reference layer metrics, glyph properties, for other font metadata.

Topics

Concrete Subclasses

  • A graphical path made of nodes.

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

  • A shape group combines zero or more shapes into a single shape, forming a shape tree.

Creating a Shape

Type and Comparison

Shape Hierarchy

Naming

  • An optional label for identifying the shape in user interfaces.

Geometry

Drawing

Fill Paint

Stroke Style

Stroke Paint

Compositing

Masking

  • How a shape masks preceding shapes in the same composition unit.

  • How the shape masks the preceding shape or shapes in the same composition unit.

Attributes

Constants

Relationships

Inherits From

Inherited By

Conforms To

Relationships

Inherits From

Inherited By

See Also

Shapes

  • A graphical path made of nodes.

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

  • A shape group combines zero or more shapes into a single shape, forming a shape tree.