UtilDrawingGetRandomRectangle(Size) Method

Gets a random Rectangle with a size between the specified 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 Rectangle GetRandomRectangle(
	Size sizeMax
)

Parameters

sizeMax  Size
A Size that specifies the maximum width and height.

Return Value

Rectangle
The resulting Rectangle.

See Also