Click or drag to resize

ColorFilter Class

Inheritance Hierarchy
SystemObject
  FairyGUIColorFilter

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class ColorFilter : IFilter

The ColorFilter type exposes the following members.

Constructors
  NameDescription
Public methodColorFilter
Initializes a new instance of the ColorFilter class
Top
Properties
  NameDescription
Public propertytarget
Top
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
Releases all resources used by the ColorFilter
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