Skip to content

# `fgMetricsClass`

## fontgate.fgMetricsClass = class fgMetricsClass(object)

      MetricsClass representation

      Constructors:
        fgMetricsClass() - default
        fgMetricsClass(fgMetricsClass) - copy

#### Methods

__cmp__(...)

      x.__cmp__(y) <==> cmp(x,y)

__delattr__(...)

      x.__delattr__('name') <==> del x.name

__getattribute__(...)

      x.__getattribute__('name') <==> x.name

__init__(...)

      x.__init__(...) initializes x; see help(type(x)) for signature

__repr__(...)

      x.__repr__() <==> repr(x)

__setattr__(...)

      x.__setattr__('name', value) <==> x.name = value

__str__(...)

      x.__str__() <==> str(x)

hasGlyph(...)

      bool hasGlyph(int glyphID/'glyphName')

keyGlyphName(...)

      'keyGlyphName' keyGlyphName()

#### Descriptors

glyphs

      (fgGlyphIDsSet)

left

      (bool)

name

      (string)

right

      (bool)

width

      (bool)

#### Attributes

__new__ = <built-in method __new__ of type object>

      T.__new__(S, ...) -> a new object with type S, a subtype of T

## `glyphs`

fontgate.fgMetricsClass.glyphs

      (fgGlyphIDsSet)

## `hasGlyph`

fontgate.fgMetricsClass.hasGlyph = hasGlyph(...)

      bool hasGlyph(int glyphID/'glyphName')

## `keyGlyphName`

fontgate.fgMetricsClass.keyGlyphName = keyGlyphName(...)

      'keyGlyphName' keyGlyphName()

## `left`

fontgate.fgMetricsClass.left

      (bool)

## `name`

fontgate.fgMetricsClass.name

      (string)

## `right`

fontgate.fgMetricsClass.right

      (bool)

## `width`

fontgate.fgMetricsClass.width

      (bool)