UtilDrawingGetRandomSizeF(Single, Single, Single, Single) Method

Gets a random SizeF between the specified minimum and maximum width and height.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: 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
)

Parameters

wMin  Single
The minimum width.
wMax  Single
The maximum width.
hMin  Single
The minimum height.
hMax  Single
The maximum height.

Return Value

SizeF
The resulting SizeF.

See Also