UtilDrawingGetRandomPointF(Single, Single, Single, Single) Method

Gets a random PointF 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 PointF GetRandomPointF(
	float xMin,
	float xMax,
	float yMin,
	float yMax
)

Parameters

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

Return Value

PointF
The resulting PointF.

See Also