UtilColorGetRandomPen(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) Method
Generates a random Pen between the specified range of values.
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 Pen GetRandomPen(
byte alphaMin,
byte alphaMax,
byte redMin,
byte redMax,
byte greenMin,
byte greenMax,
byte blueMin,
byte blueMax
)
Public Shared Function GetRandomPen (
alphaMin As Byte,
alphaMax As Byte,
redMin As Byte,
redMax As Byte,
greenMin As Byte,
greenMax As Byte,
blueMin As Byte,
blueMax As Byte
) As Pen
Dim alphaMin As Byte
Dim alphaMax As Byte
Dim redMin As Byte
Dim redMax As Byte
Dim greenMin As Byte
Dim greenMax As Byte
Dim blueMin As Byte
Dim blueMax As Byte
Dim returnValue As Pen
returnValue = UtilColor.GetRandomPen(alphaMin,
alphaMax, redMin, redMax, greenMin,
greenMax, blueMin, blueMax)
public:
static Pen^ GetRandomPen(
unsigned char alphaMin,
unsigned char alphaMax,
unsigned char redMin,
unsigned char redMax,
unsigned char greenMin,
unsigned char greenMax,
unsigned char blueMin,
unsigned char blueMax
)
static member GetRandomPen :
alphaMin : byte *
alphaMax : byte *
redMin : byte *
redMax : byte *
greenMin : byte *
greenMax : byte *
blueMin : byte *
blueMax : byte -> Pen
No code example is currently available or this language may not be supported.
- alphaMin Byte
-
The Alpha channel minimum value.
- alphaMax Byte
-
The Alpha channel maximum value.
- redMin Byte
-
The Red channel minimum value.
- redMax Byte
-
The Red channel maximum value.
- greenMin Byte
-
The Green channel minimum value.
- greenMax Byte
-
The Green channel maximum value.
- blueMin Byte
-
The Blue channel minimum value.
- blueMax Byte
-
The Blue channel maximum value.
Pen
The random
Pen.