CanvasPattern
Summary
An opaque object of the canvas API. See Notes.
Properties
No properties.
Methods
No methods.
Events
No events.
Notes
To use this object to create a pattern from a portion of an image, create a temporary clip canvas and use drawImage to extract the piece. Then, pass the tempoarary canvas to the createPattern method.
Related specifications
- W3C HTML Canvas 2D Specification
- W3C Candidate Recommendation
Attributions
Microsoft Developer Network: Windows Internet Explorer API reference Article