UtilDrawingGetRandomSize(Int32, Int32, Int32, Int32) Method
Gets a random Size 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 Size GetRandomSize(
int wMin,
int wMax,
int hMin,
int hMax
)
Public Shared Function GetRandomSize (
wMin As Integer,
wMax As Integer,
hMin As Integer,
hMax As Integer
) As Size
Dim wMin As Integer
Dim wMax As Integer
Dim hMin As Integer
Dim hMax As Integer
Dim returnValue As Size
returnValue = UtilDrawing.GetRandomSize(wMin,
wMax, hMin, hMax)
public:
static Size GetRandomSize(
int wMin,
int wMax,
int hMin,
int hMax
)
static member GetRandomSize :
wMin : int *
wMax : int *
hMin : int *
hMax : int -> Size
No code example is currently available or this language may not be supported.
- wMin Int32
-
The minimum width.
- wMax Int32
-
The maximum width.
- hMin Int32
-
The minimum height.
- hMax Int32
-
The maximum height.
Size
The resulting
Size.