UtilColorGetRandomColor(Boolean) Method
Generates a random A-RGB color.
Namespace: DevCase.Core.Media.GraphicsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Color GetRandomColor(
bool includeAlphaChannel = false
)
Public Shared Function GetRandomColor (
Optional includeAlphaChannel As Boolean = false
) As Color
Dim includeAlphaChannel As Boolean
Dim returnValue As Color
returnValue = UtilColor.GetRandomColor(includeAlphaChannel)
public:
static Color GetRandomColor(
bool includeAlphaChannel = false
)
static member GetRandomColor :
?includeAlphaChannel : bool
(* Defaults:
let _includeAlphaChannel = defaultArg includeAlphaChannel false
*)
-> Color
No code example is currently available or this language may not be supported.
- includeAlphaChannel Boolean (Optional)
-
If , alpha channel is randomized.
Color
The random
Color.