Skip to content

fontlabapp.fontui.tmetrics_model.Geometry

Geometry dataclass

Pixel layout of the rows: origin per cell, canvas size, hit testing.

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
height attribute float
origins attribute tuple[tuple[float, float], ...]
row_height attribute float
row_top function (self, row: int) -> float Return the top pixel of <code>row</code>.
scale attribute float
width attribute float (shared captured text)