ImageFilter enum

Available pixel filters for PImages.

Each ImageFilter represents a transformation that's applied to pixels within an image. For example, ImageFilter.gray converts all pixels to grayscale values, and ImageFilter.invert changes every pixel color to the color that sits opposite in color space.

Inheritance

Constructors

ImageFilter()
const

Values

threshold → const ImageFilter
gray → const ImageFilter
opaque → const ImageFilter
invert → const ImageFilter
posterize → const ImageFilter
blur → const ImageFilter
erode → const ImageFilter
dilate → const ImageFilter

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<ImageFilter>
A constant List of the values in this enum, in order of their declaration.