ImageShader class Null safety
A shader (as used by Paint.shader) that tiles an image.
Constructors
- ImageShader(Image image, TileMode tmx, TileMode tmy, Float64List matrix4, {FilterQuality? filterQuality})
-
Creates an image-tiling shader. The first argument specifies the image to
tile. The second and third arguments specify the TileMode for the x
direction and y direction respectively. The fourth argument gives the
matrix to apply to the effect. All the arguments are required and must not
be null, except for
filterQuality
. IffilterQuality
is not specified at construction time it will be deduced from the environment where it is used, such as from Paint.filterQuality.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited