Interface: HslAdjustmentFilterOptions

HslAdjustmentFilterOptions

Options for the HslAdjustmentFilter constructor.

Properties:
Name Type Default Description
alpha number 1

The amount of alpha (0 to 1)

colorize boolean false

Whether to colorize the image

hue number 0

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

lightness number 0

The amount of lightness (-1 to 1)

saturation number 0

The amount of color saturation (-1 to 1)

Members

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 color saturation (-1 to 1)

Default Value:
  • 0