UtilDrawingGetRandomRectangle(Int32, Int32, Int32, Int32) Method
Gets a random Rectangle with a location between the specified maximum X and Y coordinates,
and with a size between the specified maximum width and height.
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 Rectangle GetRandomRectangle(
int xMax,
int yMax,
int wMax,
int hMax
)
Public Shared Function GetRandomRectangle (
xMax As Integer,
yMax As Integer,
wMax As Integer,
hMax As Integer
) As Rectangle
Dim xMax As Integer
Dim yMax As Integer
Dim wMax As Integer
Dim hMax As Integer
Dim returnValue As Rectangle
returnValue = UtilDrawing.GetRandomRectangle(xMax,
yMax, wMax, hMax)
public:
static Rectangle GetRandomRectangle(
int xMax,
int yMax,
int wMax,
int hMax
)
static member GetRandomRectangle :
xMax : int *
yMax : int *
wMax : int *
hMax : int -> Rectangle
No code example is currently available or this language may not be supported.
- xMax Int32
-
The maximum X coordinate.
- yMax Int32
-
The maximum Y coordinate.
- wMax Int32
-
The maximum width.
- hMax Int32
-
The maximum height.
Rectangle
The resulting
Rectangle.