Class RandomExtensions
Extension methods for
Inheritance
System.Object
RandomExtensions
Namespace: X10D.Drawing
Assembly: X10D.dll
Syntax
public static class RandomExtensions : object
Methods
| Improve this Doc View SourceNextColorArgb(Random)
Returns a color composed of random components for apha, red, green, and blue.
Declaration
public static Color NextColorArgb(this Random random)
Parameters
Type | Name | Description |
---|---|---|
Random | random | The |
Returns
Type | Description |
---|---|
Color | A |
NextColorRgb(Random)
Returns a color of random components for red, green, and blue.
Declaration
public static Color NextColorRgb(this Random random)
Parameters
Type | Name | Description |
---|---|---|
Random | random | The |
Returns
Type | Description |
---|---|
Color | A |