Section 25.10. CanvasPattern: an image-based pattern for use in a Canvas


25.10. CanvasPattern: an image-based pattern for use in a Canvas

Firefox 1.5, Safari 1.3, Opera 9: Object CanvasPattern

25.10.1. Description

A CanvasPattern object is returned by the createPattern( ) method of a CanvasRenderingContext2D object. A CanvasPattern object may be used as the value of the strokeStyle and fillStyle properties of a CanvasRenderingContext2D object.

A CanvasPattern object has no properties or methods of its own. See CanvasRenderingContext2D.createPattern( ) for details on how to create one.

25.10.2. See Also

CanvasRenderingContext2D.createPattern( )




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net