Firefox Tomorrow

web api interface

CanvasPattern

View on MDN ↗

Available in workers

The CanvasPattern interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the createPattern() method.

It can be used as a fillStyle or strokeStyle.

Instance properties

As an opaque object, this has no exposed property.

Instance methods

There are no inherited method.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also