happypdf / PDFPageDrawTextOptions
Interface: PDFPageDrawTextOptions
Defined in: src/api/PDFPageOptions.ts:28
Extends
SvgOptions
Properties
align?
optional align?: TextAlign;Defined in: src/api/PDFPageOptions.ts:45
How wrapped lines are aligned within maxWidth. Defaults to left. justify stretches every line but the last of each paragraph.
blendMode?
optional blendMode?: BlendMode;Defined in: src/api/PDFPageOptions.ts:31
breakStrategy?
optional breakStrategy?: "greedy";Defined in: src/api/PDFPageOptions.ts:47
Which algorithm picks the break points. Defaults to greedy.
characterSpacing?
optional characterSpacing?: number;Defined in: src/api/PDFPageOptions.ts:55
clipSpaces?
optional clipSpaces?: Space[];Defined in: src/api/PDFPageOptions.ts:10
Inherited from
SvgOptions.clipSpacescolor?
optional color?: Color;Defined in: src/api/PDFPageOptions.ts:29
font?
optional font?: PDFFont;Defined in: src/api/PDFPageOptions.ts:32
lineHeight?
optional lineHeight?: number;Defined in: src/api/PDFPageOptions.ts:39
locale?
optional locale?: string;Defined in: src/api/PDFPageOptions.ts:54
Locale used for word segmentation. Defaults to the runtime's.
matrix?
optional matrix?: TransformationMatrix;Defined in: src/api/PDFPageOptions.ts:9
Inherited from
SvgOptions.matrixmaxWidth?
optional maxWidth?: number;Defined in: src/api/PDFPageOptions.ts:40
opacity?
optional opacity?: number;Defined in: src/api/PDFPageOptions.ts:30
renderMode?
optional renderMode?: TextRenderingMode;Defined in: src/api/PDFPageOptions.ts:58
rotate?
optional rotate?: Rotation;Defined in: src/api/PDFPageOptions.ts:34
size?
optional size?: number;Defined in: src/api/PDFPageOptions.ts:33
strokeColor?
optional strokeColor?: Color;Defined in: src/api/PDFPageOptions.ts:57
strokeWidth?
optional strokeWidth?: number;Defined in: src/api/PDFPageOptions.ts:56
wordBreak?
optional wordBreak?: WordBreak;Defined in: src/api/PDFPageOptions.ts:52
Whether a word wider than maxWidth may be broken between graphemes. Defaults to normal (break it); keep-all lets it overflow.
x?
optional x?: number;Defined in: src/api/PDFPageOptions.ts:37
xSkew?
optional xSkew?: Rotation;Defined in: src/api/PDFPageOptions.ts:35
y?
optional y?: number;Defined in: src/api/PDFPageOptions.ts:38
ySkew?
optional ySkew?: Rotation;Defined in: src/api/PDFPageOptions.ts:36