Brush Module
Utility functions for System.Windows.Media.SolidColorBrush
Functions and values
Function or value |
Description
|
Full Usage:
brighter amount br
Parameters:
int
br : SolidColorBrush
Returns: SolidColorBrush
|
Adds bytes to each color channel to increase brightness result will be clamped between 0 and 255
|
|
|
Full Usage:
clampToByte i
Parameters:
int
Returns: byte
Modifiers: inline |
Clamp int to byte between 0 and 255
|
|
Removes bytes from each color channel to increase darkness, result will be clamped between 0 and 255
|
|
|
Full Usage:
ofARGB a r g b
Parameters:
int
r : int
g : int
b : int
Returns: SolidColorBrush
Modifiers: inline |
Get a transparent frozen brush of alpha, red, green and blue values. int gets clamped to 0-255
|
Full Usage:
ofRGB r g b
Parameters:
int
g : int
b : int
Returns: SolidColorBrush
Modifiers: inline |
Get a frozen brush of red, green and blue values. int gets clamped to 0-255
|