parallax/jsPDF

Context2D does not implement clip() correctly

Open

#3.408 aberto em 9 de abr. de 2022

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (4.596 forks)batch import
Feature Requestdifficulty:mediumhelp wanted

Métricas do repositório

Stars
 (28.280 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

clip() is supposed to take an argument to specify the clipping rule. Context2D drops this argument on the floor and implements the default clipping rule, I guess.

It can also be given two arguments where one argument is the path. This is also not implemented.

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip

Guia do colaborador