Capabilities of the Canvas
Canvas lets you programmatically draw onto your webpage:
Canvas drawings can be extensively styled:
- stroke width,
- stroke color,
- shape fill color,
- opacity,
- shadowing,
- linear gradients and radial gradients,
- font face,
- font size,
- text alignment,
- text may be stroked, filled or both stroked & filled,
- image resizing,
- image cropping,
- compositing
Uses of the Canvas