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¶
nameunicodesunicode
Metrics¶
leftMarginrightMarginwidth
Reference Data¶
areaboundscontrolPointBounds
General Editing¶
clear()move()
Contours¶
GlyphclearContours()appendContour()insertContour()contourIndex()autoContourDirection()correctContourDirection()
Components¶
componentsclearComponents()appendComponent()componentIndex()insertComponent()
Anchors¶
anchorsclearAnchors()appendAnchor()anchorIndex()insertAnchor()
Hit Testing¶
pointInside()
Pens and Drawing¶
getPen()getPointPen()draw()drawPoints()
Representations¶
getRepresentation()hasCachedRepresentation()representationKeys()destroyRepresentation()destroyAllRepresentations()
Changed State¶
dirty
Notifications¶
dispatcheraddObserver()removeObserver()hasObserver()