- canvas元素的大小由css属性决定,绘图表面的大小由canvas元素上的属性决定;
- 当canvas元素的大小不符合其绘图表面的大小,浏览器会对绘图表面自动进行缩放至符合元素的大小;
- 非零环绕规则;
-
Notifications
You must be signed in to change notification settings - Fork 0
ncushujian/learn-canvas
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|