Glyph

See also

Notifications:

The Glyph object uses notifications to notify observers of changes.

Representations:

The Glyph object can maintain representations of various arbitrary types.

Tasks

Name and Unicodes

  • name

  • unicodes

  • unicode

Metrics

  • leftMargin

  • rightMargin

  • width

Reference Data

  • area

  • bounds

  • controlPointBounds

General Editing

  • clear()

  • move()

Contours

  • Glyph

  • clearContours()

  • appendContour()

  • insertContour()

  • contourIndex()

  • autoContourDirection()

  • correctContourDirection()

Components

  • components

  • clearComponents()

  • appendComponent()

  • componentIndex()

  • insertComponent()

Anchors

  • anchors

  • clearAnchors()

  • appendAnchor()

  • anchorIndex()

  • insertAnchor()

Hit Testing

  • pointInside()

Pens and Drawing

  • getPen()

  • getPointPen()

  • draw()

  • drawPoints()

Representations

  • getRepresentation()

  • hasCachedRepresentation()

  • representationKeys()

  • destroyRepresentation()

  • destroyAllRepresentations()

Changed State

  • dirty

Notifications

  • dispatcher

  • addObserver()

  • removeObserver()

  • hasObserver()

Parent

  • getParent()

  • setParent()

Glyph