Method | Description | |
---|---|---|
AdjustBrightness ( float value ) : void |
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 ( float value ) : void |
Changes the contrast. Typical values are in the range (-1, 1). Values above zero will raise, values below zero will reduce the contrast.
|
|
AdjustHue ( float value ) : void |
Changes the hue of the image. Typical values are in the range (-1, 1).
|
|
AdjustSaturation ( float sat ) : void |
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.
|
|
ColorFilter ( ) : System | ||
ConcatValues ( ) : void |
|
|
Dispose ( ) : void | ||
Invert ( ) : void | ||
Reset ( ) : void |
Changes the filter matrix back to the identity matrix
|
|
Tint ( Color color, float amount = 1.0f ) : void |
Tints the image in a certain color, analog to what can be done in Adobe Animate.
|
|
Update ( ) : void |
Method | Description | |
---|---|---|
UpdateMatrix ( ) : void |
public AdjustBrightness ( float value ) : void | ||
value | float | |
return | void |
public Tint ( Color color, float amount = 1.0f ) : void | ||
color | Color | the RGB color with which the image should be tinted. |
amount | float | the intensity with which tinting should be applied. Range (0, 1). |
return | void |