Class: AdjustmentFilter

AdjustmentFilter

The ability to adjust gamma, contrast, saturation, brightness, alpha or color-channel shift. This is a faster and much simpler to use than ColorMatrixFilter because it does not use a matrix.
originalfilter

new AdjustmentFilter (options)

Name Type Attributes Description
options AdjustmentFilterOptions <optional>

The options of the adjustment filter.

Extends

  • Filter

Members

DEFAULT_OPTIONS AdjustmentFilterOptions staticreadonly

Default values for options.

alpha number

The overall alpha channel

Default Value:
  • 1

blue number

The multiplied green channel

Default Value:
  • 1

brightness number

The overall brightness

Default Value:
  • 1

contrast number

Amount of contrast

Default Value:
  • 1

gamma number

Amount of luminance

Default Value:
  • 1

green number

The multiplied blue channel

Default Value:
  • 1

red number

The multiplied red channel

Default Value:
  • 1

saturation number

Amount of color saturation

Default Value:
  • 1