mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Implement proxied cross-origin iframe rendering
This commit is contained in:
@ -38,7 +38,10 @@ export default class CanvasRenderer implements RenderTarget<HTMLCanvasElement> {
|
||||
|
||||
this.ctx.scale(this.options.scale, this.options.scale);
|
||||
this.ctx.textBaseline = 'bottom';
|
||||
options.logger.log(`Canvas renderer initialized with scale ${this.options.scale}`);
|
||||
options.logger.log(
|
||||
`Canvas renderer initialized (${options.width}x${options.height}) with scale ${this
|
||||
.options.scale}`
|
||||
);
|
||||
}
|
||||
|
||||
clip(clipPaths: Array<Path>, callback: () => void) {
|
||||
|
Reference in New Issue
Block a user