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