UtilDrawingGetRandomPoint(Int32, Int32, Int32, Int32) Method

Gets a random Point between the specified minimum and maximum X and Y coordinates.

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 Point GetRandomPoint(
	int xMin,
	int xMax,
	int yMin,
	int yMax
)

Parameters

xMin  Int32
The minimum X coordinate.
xMax  Int32
The maximum X coordinate.
yMin  Int32
The minimum Y coordinate.
yMax  Int32
The maximum Y coordinate.

Return Value

Point
The resulting Point.

See Also