CanvasPattern class

An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.

MDN Reference

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CanvasPattern()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setTransform ↔ void Function([DOMMatrix2DInit?])

Available on CanvasPattern, provided by the CanvasPattern$Typings extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited