UtilColorGetRandomBrush(Boolean) Method
Generates a random SolidBrush.
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 SolidBrush GetRandomBrush(
bool includeAlphaChannel = false
)
Public Shared Function GetRandomBrush (
Optional includeAlphaChannel As Boolean = false
) As SolidBrush
Dim includeAlphaChannel As Boolean
Dim returnValue As SolidBrush
returnValue = UtilColor.GetRandomBrush(includeAlphaChannel)
public:
static SolidBrush^ GetRandomBrush(
bool includeAlphaChannel = false
)
static member GetRandomBrush :
?includeAlphaChannel : bool
(* Defaults:
let _includeAlphaChannel = defaultArg includeAlphaChannel false
*)
-> SolidBrush
No code example is currently available or this language may not be supported.
- includeAlphaChannel Boolean (Optional)
-
If , alpha channel is randomized.
SolidBrush
The random
SolidBrush.