CanvasPattern class
The interface represents an opaque object describing a pattern,
based on an image, a canvas, or a video, created by the
CanvasRenderingContext2D.createPattern()
method.
It can be used as a fillStyle
or strokeStyle
.
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setTransform(
[DOMMatrix2DInit? transform]) → void -
Available on CanvasPattern, provided by the PropsCanvasPattern extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited