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.booleanThis boolean indicates whether this filter can be applied pixel per pixel (slow).booleanThis boolean indicates whether this filter can be applied pixel per pixel (fast).
-
Constructor Details
-
InvertedMode
public InvertedMode()
-
-
Method Details
-
apply
Description copied from interface:FilterApply Filter. -
isApplyPixel
public boolean isApplyPixel()Description copied from interface:FilterThis boolean indicates whether this filter can be applied pixel per pixel (fast).- Specified by:
isApplyPixelin interfaceFilter- Returns:
trueifFilter.apply(RGBAColor)shall be used
-
isApplyImage
public boolean isApplyImage()Description copied from interface:FilterThis boolean indicates whether this filter can be applied pixel per pixel (slow).- Specified by:
isApplyImagein interfaceFilter- Returns:
trueifFilter.apply(AbstractImage)shall be used
-