Click or drag to resize

ColorFilter Methods

The ColorFilter type exposes the following members.

Methods
  NameDescription
Public methodAdjustBrightness
Changes the brightness. Typical values are in the range (-1, 1). Values above zero will make the image brighter, values below zero will make it darker.
Public methodAdjustContrast
Changes the contrast. Typical values are in the range (-1, 1). Values above zero will raise, values below zero will reduce the contrast.
Public methodAdjustHue
Changes the hue of the image. Typical values are in the range (-1, 1).
Public methodAdjustSaturation
Changes the saturation. Typical values are in the range (-1, 1). Values above zero will raise, values below zero will reduce the saturation. '-1' will produce a grayscale image.
Public methodConcatValues
Public methodDispose
Public methodInvert
Public methodReset
Changes the filter matrix back to the identity matrix
Public methodTint
Tints the image in a certain color, analog to what can be done in Adobe Animate.
Public methodUpdate
Top
See Also