Skip to content

fontlab.AccentInfo

AccentInfo

Data wrapper

An accent-placement result returned by flPackage.getAccentsInfo(layer, pin). It combines a candidate accent layer with the transform needed to position it.

AccentInfo() constructs a value wrapper. Positional fields follow (layer, offset); field keywords are supported. asTuple() and asDict() return snapshots. Indexing, item assignment and len() use the same field order. For placement results, prefer values supplied by flPackage.getAccentsInfo rather than inventing an offset.

Native bases: object

Captured native MRO: AccentInfo, 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 data wrapper with the attributes layer and offset. The captured declaration exposes asDict (represent the object as a dictionary) and asTuple (represent it as a tuple).

Source: FontLab Proteus API documentation

Source: generated/fontlab.py: AccentInfo 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)
asDict function (self, *args: Any, **kwargs: Any) -> Any Represent object as dictionary (shared captured text)
asTuple function (self, *args: Any, **kwargs: Any) -> Any Represent object as tuple (shared captured text)
layer attribute Any Candidate layer.
offset attribute Any Placement transform; this is a matrix, not an (x, y) pair.