Module: RustPdf::VerticalAnchor
- Defined in:
- lib/rustpdf.rb
Overview
What y means for stamped text (EditableDoc#place_text /
#place_paragraph). BASELINE is the historical place_text behavior; TOP
hangs the text from y (baseline lands ascent x size below it, legacy layout engines
fixed-position layout semantics); BOTTOM rests the descender line on y.
LINE_TOP / LINE_BOTTOM anchor via the layout line box (its height is also
the leading basis, so a single line and a wrapped block agree vertically).
Constant Summary collapse
- BASELINE =
0- TOP =
1- BOTTOM =
2- LINE_TOP =
3- LINE_BOTTOM =
4