ColorFilter Class |
Namespace: FairyGUI
public class ColorFilter : IFilter
The ColorFilter type exposes the following members.
| Name | Description | |
|---|---|---|
| ColorFilter | Initializes a new instance of the ColorFilter class |
| Name | Description | |
|---|---|---|
| AdjustBrightness |
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.
| |
| AdjustContrast |
Changes the contrast. Typical values are in the range (-1, 1).
Values above zero will raise, values below zero will reduce the contrast.
| |
| AdjustHue |
Changes the hue of the image. Typical values are in the range (-1, 1).
| |
| AdjustSaturation |
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.
| |
| ConcatValues | ||
| Dispose | Releases all resources used by the ColorFilter | |
| Invert | ||
| Reset |
Changes the filter matrix back to the identity matrix
| |
| Tint |
Tints the image in a certain color, analog to what can be done in Adobe Animate.
| |
| Update |