Method
__init__
(self, elements: T.Sequence[Node], w: float = 0.0,
m: T.Literal['additional', 'exactly'] = 'additional',
do_kern: bool = True)
Source from the content-addressed store, hash-verified
| 1325 | """A horizontal list of boxes.""" |
| 1326 | |
| 1327 | def __init__(self, elements: T.Sequence[Node], w: float = 0.0, |
| 1328 | m: T.Literal['additional', 'exactly'] = 'additional', |
| 1329 | do_kern: bool = True): |
| 1330 | super().__init__(elements) |
| 1331 | if do_kern: |
| 1332 | self.kern() |
| 1333 | self.hpack(w=w, m=m) |
| 1334 | self.is_phantom = False |
| 1335 | |
| 1336 | def is_char_node(self) -> bool: |
| 1337 | # See description in Node.is_char_node. |
Callers
nothing calls this directly
Tested by
no test coverage detected