Name
CanvasPattern — an image-based pattern for use in a Canvas
Synopsis
A CanvasPattern object is an opaque object returned by the
createPattern()
method of a
CanvasRenderingContext2D object. A CanvasPattern object can be used
as the value of the strokeStyle
and fillStyle
properties of a
CanvasRenderingContext2D object.
Get JavaScript: The Definitive Guide, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.