Skip to content

API reference / Common / Engine types / TextClip

Interface: TextClip ​

Glyph-outline clip accumulated from text rendered under PDF Tr 4–7. The geometry is the same as a TextRegularRun would have laid out — same TextStyle snapshot, same positioning fields. TextStyle::render_mode, knockout, and leading are inert here (clips don't paint and don't advance to a next line), but they're carried because they're part of the text-state snapshot the gs captured at the BMC site.

Properties ​

PropertyType
textStyleTextStyle
textMatrixAffine
textMatrixOriginTextMatrixOrigin
chunksTextChunk[]