Coverage for fpdf2_textindex/interface/link_location.py: 100.00%
13 statements
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-01 14:22 +0000
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-01 14:22 +0000
1"""Link Location."""
3import dataclasses
6@dataclasses.dataclass(kw_only=True, slots=True)
7class LinkLocation:
8 """Link Location."""
10 page: int
11 """The page the link is referened/used on."""
13 x: float
14 """The `x`-position on the page."""
16 y: float
17 """The `y`-position on the page."""
19 w: float
20 """The width the link has on the page."""
22 h: float
23 """The height the link has on the page."""