-
-
Notifications
You must be signed in to change notification settings - Fork 60
Developer:Canvas
av2541993 edited this page Jun 28, 2015
·
9 revisions
- globalCompositeOperation = lighter and copy don't have a direct equivalent in Swing Graphics. Needs custom implementation. Java implementation is different from the HTMLcanvas implementation.
- Following APIs are yet to be implemented:
-
Config APIs
- font
- textAlign
- textBaseline
- measureText
- createRadialGradient
- createPattern
- shadowOffsetX
- shadowOffsetY
- shadowBlur
- shadowColor
-
Draw APIs
- drawFocusIfNeeded
- strokeText
- drawImage
-
Interaction and Animation
- isPointInPath
- addHitRegion
- removeHitRegion
- clearHitRegion
-
Apart from the w3c tests, here are some more:
- Reading from a canvas could be a special permission, since it apparently enables fingerprinting. (Needs study).