Skip to content

fontgate.fgGlyphIDsSet

fgGlyphIDsSet

GlyphIDs set

Constructors: fgGlyphIDsSet() - default fgGlyphIDsSet(fgGlyphIDsSet) - copy

Native bases: object

Captured native MRO: fgGlyphIDsSet, 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 set of glyph ids. The captured declaration exposes asList, clean, contains (which returns a bool) and del_. It is created as fgGlyphIDsSet() or as a copy fgGlyphIDsSet(fgGlyphIDsSet). The native spelling of del_ is del, which the capture says to reach through getattr on the native object.

Source: generated/fontgate.py: fgGlyphIDsSet 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)
asList function (self) -> Any [ int ] asList() - return set as list
clean function (self) -> Any Remove all id's from set
contains function (self, id: int) -> bool Bool contains(int id) - return True if set contains id
del_ function (self, id: int) -> Any Remove id from set