amount property

int amount
final

can be set in the range from -100 to 200 and defaults to 100. The :amount of:

  • 0 stands for no changes in the image, the output is equal to the original.
  • values in the range from 0 to 100 gradually increase filter strength; 100 makes filters work as designed.
  • values over 100 emphasizes filter effect: the strength of applied changes.
  • any negative number would mean subtracting the difference between the filtered and original images from the original. That will produce a "negative filter" effect.

Implementation

final int amount;