brighten()
Returns a new UIColor with adjusted brightness.
brighten(d: number): UIColor;
Parameters
- d — The brightness adjustment, from -1 (black) to 1 (white); 0 means no change.
Return value
A new UIColor instance.
Related
class UIColor
A class that represents a single color value.
