Skip to content

happypdf / DrawTextOptions

Interface: DrawTextOptions ​

Defined in: src/api/operations.ts:47

Extended by ​

Properties ​

characterSpacing? ​

ts
optional characterSpacing?: number;

Defined in: src/api/operations.ts:59


clipSpaces? ​

ts
optional clipSpaces?: Space[];

Defined in: src/api/operations.ts:58


color ​

ts
color: Color;

Defined in: src/api/operations.ts:48


font ​

ts
font: string | PDFName;

Defined in: src/api/operations.ts:49


graphicsState? ​

ts
optional graphicsState?: string | PDFName;

Defined in: src/api/operations.ts:56


matrix? ​

ts
optional matrix?: TransformationMatrix;

Defined in: src/api/operations.ts:57


renderMode? ​

ts
optional renderMode?: TextRenderingMode;

Defined in: src/api/operations.ts:62


rotate ​

ts
rotate: Rotation;

Defined in: src/api/operations.ts:51


size ​

ts
size: number | PDFNumber;

Defined in: src/api/operations.ts:50


strokeColor? ​

ts
optional strokeColor?: Color;

Defined in: src/api/operations.ts:61


strokeWidth? ​

ts
optional strokeWidth?: number;

Defined in: src/api/operations.ts:60


x ​

ts
x: number | PDFNumber;

Defined in: src/api/operations.ts:54


xSkew ​

ts
xSkew: Rotation;

Defined in: src/api/operations.ts:52


y ​

ts
y: number | PDFNumber;

Defined in: src/api/operations.ts:55


ySkew ​

ts
ySkew: Rotation;

Defined in: src/api/operations.ts:53

MIT Licensed. A fork of pdf-lib.