Skip to content

modern-pdf-lib


modern-pdf-lib / setTextRiseOp

Function: setTextRiseOp()

setTextRiseOp(rise): string

Defined in: src/core/operators/text.ts:123

Set the text rise (super / subscript offset) (Ts).

Parameters

rise

number

Distance, in unscaled text-space units, to move the baseline up (positive) or down (negative).

Returns

string

Released under the MIT License.