parallax/jsPDF

Context2D does not implement clip() correctly

开放

#3,408 创建于 2022年4月9日

 (3 条评论) (0 个反应) (0 位负责人)JavaScript (4,596 个派生)batch import
Feature Requestdifficulty:mediumhelp wanted

仓库指标

星标
 (28,280 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南