Property | Type | Description | |
---|---|---|---|
NumValues | int |
Property | Type | Description | |
---|---|---|---|
_m | float[] |
Method | Description | |
---|---|---|
AdjustBrightness ( float brightness ) : 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 contrast ) : 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 hue ) : void |
Changes the hue. Typical values are in the range [-1, 1].
|
|
AdjustSaturation ( float saturation ) : 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.
|
|
ColorMatrix ( float values = null ) : System |
Initializes a color matrix with an array of 20 floats. If no value is specified it initializes with an identity matrix.
|
|
ConcatColorMatrix ( |
Concatenates the receiving color matrix with another one.
|
|
Identity ( ) : void |
Changes the color matrix into an identity matrix.
|
|
Invert ( ) : void |
Inverts the colors.
|
Method | Description | |
---|---|---|
ConcatMatrix ( |
public AdjustBrightness ( float brightness ) : void | ||
brightness | float | |
return | void |
public AdjustContrast ( float contrast ) : void | ||
contrast | float | |
return | void |
public AdjustSaturation ( float saturation ) : void | ||
saturation | float | |
return | void |
public ColorMatrix ( float values = null ) : System | ||
values | float | |
return | System |
public ConcatColorMatrix ( |
||
colorMatrix | ||
return | void |