UtilDrawingGetRandomSizeF(Single, Single, Single, Single) Method
Gets a random SizeF between the specified minimum and maximum width and height.
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 SizeF GetRandomSizeF(
float wMin,
float wMax,
float hMin,
float hMax
)
Public Shared Function GetRandomSizeF (
wMin As Single,
wMax As Single,
hMin As Single,
hMax As Single
) As SizeF
Dim wMin As Single
Dim wMax As Single
Dim hMin As Single
Dim hMax As Single
Dim returnValue As SizeF
returnValue = UtilDrawing.GetRandomSizeF(wMin,
wMax, hMin, hMax)
public:
static SizeF GetRandomSizeF(
float wMin,
float wMax,
float hMin,
float hMax
)
static member GetRandomSizeF :
wMin : float32 *
wMax : float32 *
hMin : float32 *
hMax : float32 -> SizeF
No code example is currently available or this language may not be supported.
- wMin Single
-
The minimum width.
- wMax Single
-
The maximum width.
- hMin Single
-
The minimum height.
- hMax Single
-
The maximum height.
SizeF
The resulting
SizeF.