Package rekit.logic.filters
Class InvertedMode
java.lang.Object
rekit.logic.filters.InvertedMode
- All Implemented Interfaces:
Filter
This filter realizes a filter which will invert all colors.
- Author:
- Dominik Fuchss
-
Field Summary
Fields inherited from interface rekit.logic.filters.Filter
ALL_FILTERS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApply Filter.boolean
This boolean indicates whether this filter can be applied pixel per pixel (slow).boolean
This boolean indicates whether this filter can be applied pixel per pixel (fast).
-
Constructor Details
-
InvertedMode
public InvertedMode()
-
-
Method Details
-
apply
Description copied from interface:Filter
Apply Filter. -
isApplyPixel
public boolean isApplyPixel()Description copied from interface:Filter
This boolean indicates whether this filter can be applied pixel per pixel (fast).- Specified by:
isApplyPixel
in interfaceFilter
- Returns:
true
ifFilter.apply(RGBAColor)
shall be used
-
isApplyImage
public boolean isApplyImage()Description copied from interface:Filter
This boolean indicates whether this filter can be applied pixel per pixel (slow).- Specified by:
isApplyImage
in interfaceFilter
- Returns:
true
ifFilter.apply(AbstractImage)
shall be used
-