Declaration

class GSElement

Declaration

@interface GSElement : GSBaseObject

Declaration

class GSElement(GSBaseObject)

Overview

GSElement provides common geometry and Glyphs source encoding behavior for concrete element types such as anchors, guides, hints, and annotations. Do not create instances of GSElement directly.

Most elements are contained directly by a layer. Some element types are owned by another object and resolve their layer through that owner, so do not assume that parent is a layer. An element can be detached, in which case its layer, glyph, font, and undo manager are unavailable.

The inherited position is expressed in layer coordinates unless the concrete type defines another coordinate system. Concrete subclasses define which geometry participates in bounds, hit testing, and transformations, as well as which additional values are encoded.

Topics

Creating an Element

Geometry

Encoding

Textual Representation

Relationships

Inherits From

Inherited By

Conforms To