Skip to content

fontgate.fgMetricsClass

fgMetricsClass

MetricsClass representation

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

Native bases: object

Captured native MRO: fgMetricsClass, object

Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.

Supplemental documentation: A metrics class. The captured declaration exposes the attributes glyphs, keyGlyphName, left, name, right and width, and the method hasGlyph. It is created as fgMetricsClass() or as a copy fgMetricsClass(fgMetricsClass).

Source: generated/fontgate.py: fgMetricsClass captured declaration

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, /, *args: Any, **kwargs: Any) -> None Initialize self. (shared captured text)
glyphs attribute Any
hasGlyph function (self, *args: Any, **kwargs: Any) -> Any
keyGlyphName function (self) -> Any 'keyGlyphName' keyGlyphName()
left attribute Any
name attribute Any (shared captured text)
right attribute Any
width attribute Any