UtilDrawingGetRandomPoint(Int32, Int32, Int32, Int32) Method
Gets a random Point between the specified minimum and maximum X and Y coordinates.
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 Point GetRandomPoint(
int xMin,
int xMax,
int yMin,
int yMax
)
Public Shared Function GetRandomPoint (
xMin As Integer,
xMax As Integer,
yMin As Integer,
yMax As Integer
) As Point
Dim xMin As Integer
Dim xMax As Integer
Dim yMin As Integer
Dim yMax As Integer
Dim returnValue As Point
returnValue = UtilDrawing.GetRandomPoint(xMin,
xMax, yMin, yMax)
public:
static Point GetRandomPoint(
int xMin,
int xMax,
int yMin,
int yMax
)
static member GetRandomPoint :
xMin : int *
xMax : int *
yMin : int *
yMax : int -> Point
No code example is currently available or this language may not be supported.
- xMin Int32
-
The minimum X coordinate.
- xMax Int32
-
The maximum X coordinate.
- yMin Int32
-
The minimum Y coordinate.
- yMax Int32
-
The maximum Y coordinate.
Point
The resulting
Point.