Red is bad. Green is good.
<canvas> |
Attributes | Supported | ||||||
|---|---|---|---|---|---|---|---|---|
| strokeStyle | ||||||||
| fillStyle | ||||||||
| lineWidth | ||||||||
| lineCap | butt* | round | square | |||||
| lineJoin | round | bevel | miter* | |||||
| miterLimit | ||||||||
| shadowColor | ||||||||
| shadowOffsetX | ||||||||
| shadowOffsetY | ||||||||
| shadowBlur | ||||||||
| font | ||||||||
| textAlign | start* | end | left | right | center | |||
| textBaseline | top | hanging | middle | alphabetic* | ideographic | bottom |
<canvas> |
Methods | Supported |
|---|---|---|
| scale | ||
| rotate | ||
| translate | ||
| transform | ||
| setTransform | ||
| createLinearGradient | ||
| createPattern | ||
| clearRect | ||
| fillRect | ||
| strokeRect | ||
| beginPath | ||
| moveTo | ||
| closePath | ||
| lineTo | ||
| quadraticCurveTo | ||
| bezierCurveTo | ||
| arcTo | ||
| arc | ||
| rect | ||
| fill | ||
| stroke | ||
| clip | ||
| isPointInPath | ||
| drawFocusRing | ||
| fillText | ||
| strokeText | ||
| measureText | ||
| drawImage | ||
| createImageData | ||
| getImageData |
Copyright © 2010 Michael Taylor (@miketaylr) and licensed under the MIT license.