ColorMatrixFilter class
- Inheritance
-
- Object
- RenderFilter
- BitmapFilter
- ColorMatrixFilter
Constructors
-
ColorMatrixFilter(List<
num> colorMatrix, List<num> colorOffset) - ColorMatrixFilter.adjust({num hue = 0, num saturation = 0, num brightness = 0, num contrast = 0})
-
factory
- ColorMatrixFilter.grayscale()
- ColorMatrixFilter.identity()
- ColorMatrixFilter.invert()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSimple → bool
-
no setterinherited
-
overlap
→ Rectangle<
int> -
no setterinherited
-
renderPassSources
→ List<
int> -
no setterinherited
-
renderPassTargets
→ List<
int> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
adjustBrightness(
num value) → void -
adjustColoration(
int color, [num strength = 1.0]) → void -
adjustContrast(
num value) → void -
adjustHue(
num value) → void -
adjustInversion(
num value) → void -
adjustSaturation(
num value) → void -
apply(
BitmapData bitmapData, [Rectangle< num> ? rectangle]) → void -
override
-
clone(
) → BitmapFilter -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderFilter(
RenderState renderState, RenderTextureQuad renderTextureQuad, int pass) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited