Skip to content

fontlab.flLayerAttributes

flLayerAttributes

Data wrapper

A value wrapper used by flPackage.instanceAttributes to describe generated instance layers.

The wrapper accepts positional fields in table order and field keywords. Prefer reading package.instanceAttributes, changing the needed fields and assigning the value back; do not rely on unspecified flag defaults in a newly constructed wrapper. asTuple() and asDict() return snapshots. Indexing, item assignment and len() use the same field order.

Native bases: object

Captured native MRO: flLayerAttributes, 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 isActive, isLocked, isService, isVisible, isWireframe and wireframeColor. 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: flLayerAttributes 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)
isActive attribute Any Active-layer state.
isLocked attribute Any Editing lock state.
isService attribute Any Service-layer state.
isVisible attribute Any
isWireframe attribute Any Wireframe display state.
wireframeColor attribute Any Wireframe color.