Class: HslAdjustmentFilter

HslAdjustmentFilter

originalfilter

This WebGPU filter has been ported from the WebGL renderer that was originally created by Viktor Persson (@vikpe)

new HslAdjustmentFilter (options)

Name Type Attributes Description
options HslAdjustmentFilterOptions <optional>

Options for the HslAdjustmentFilter constructor.

Extends

  • Filter

Members

DEFAULT_OPTIONS HslAdjustmentFilterOptions staticreadonly

Default values for options.

alpha number

The amount of alpha (0 to 1)

Default Value:
  • 1

colorize boolean

Whether to colorize the image

Default Value:
  • false

hue number

The amount of hue in degrees (-180 to 180)

Default Value:
  • 0

lightness number

The amount of lightness (-1 to 1)

Default Value:
  • 0

saturation number

The amount of lightness (-1 to 1)

Default Value:
  • 0