Skip to content

fontlabapp.contours.reflect.Element

Element dataclass

One positioned element, preserving opaque detached topology/metadata.

For a component, scale and rotation are its source-engine decomposed values, not guessed matrix diagonal entries. All other kinds retain their scale data.

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
kind attribute str (shared captured text)
position attribute tuple[float, float]
retained attribute tuple
rotation attribute float (shared captured text)
scale attribute tuple[float, float] | None
selected attribute bool