Skip to content

Commit 910e190

Browse files
feat: update pdf.js types to commit 9d20d06
1 parent 6cef4e7 commit 910e190

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

types/src/display/blender/blender.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ export class Blender {
1717
origFillStyle: (val: any) => void;
1818
origStrokeSyle: (val: any) => void;
1919
interceptStyleProperty(prop: any): (val: any) => void;
20+
/**
21+
* Sets up fillStyle/strokeStyle interceptors on an external (group) context
22+
* so that calcStyle transforms text/shape colors within transparency groups.
23+
*/
24+
interceptGroupStyles(ctx: any): void;
25+
/**
26+
* Restores original fillStyle/strokeStyle on a group context.
27+
*/
28+
cleanupGroupStyles(ctx: any): void;
2029
/**
2130
* Removes all our property definitions and method wraps on this.ctx.
2231
*/

0 commit comments

Comments
 (0)