parallax/jsPDF

Context2D does not implement clip() correctly

Open

#3,408 建立於 2022年4月9日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (4,596 fork)batch import
Feature Requestdifficulty:mediumhelp wanted

倉庫指標

Star
 (28,280 star)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南