ImageSampler class
Sampling options applied when drawing an image, mirrors the native rive::ImageSampler.
Constructors
- ImageSampler({ImageSamplerWrap wrapX = ImageSamplerWrap.clamp, ImageSamplerWrap wrapY = ImageSamplerWrap.clamp, ImageSamplerFilter filter = ImageSamplerFilter.bilinear})
-
const
- ImageSampler.fromKey(int key)
-
factory
Properties
- filter → ImageSamplerFilter
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → int
-
Packed key matching rive::ImageSampler::asKey.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wrapX → ImageSamplerWrap
-
final
- wrapY → ImageSamplerWrap
-
final
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
Constants
- linearClamp → const ImageSampler