UtilDrawingGetRandomRectangleF(Single, Single, Single, Single, Single, Single, Single, Single) Method
Gets a random RectangleF with a location between the specified minimum and maximum X and Y coordinates,
and with a size between the specified minimum and 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 RectangleF GetRandomRectangleF(
float xMin,
float xMax,
float yMin,
float yMax,
float wMin,
float wMax,
float hMin,
float hMax
)
Public Shared Function GetRandomRectangleF (
xMin As Single,
xMax As Single,
yMin As Single,
yMax As Single,
wMin As Single,
wMax As Single,
hMin As Single,
hMax As Single
) As RectangleF
Dim xMin As Single
Dim xMax As Single
Dim yMin As Single
Dim yMax As Single
Dim wMin As Single
Dim wMax As Single
Dim hMin As Single
Dim hMax As Single
Dim returnValue As RectangleF
returnValue = UtilDrawing.GetRandomRectangleF(xMin,
xMax, yMin, yMax, wMin, wMax, hMin,
hMax)
public:
static RectangleF GetRandomRectangleF(
float xMin,
float xMax,
float yMin,
float yMax,
float wMin,
float wMax,
float hMin,
float hMax
)
static member GetRandomRectangleF :
xMin : float32 *
xMax : float32 *
yMin : float32 *
yMax : float32 *
wMin : float32 *
wMax : float32 *
hMin : float32 *
hMax : float32 -> RectangleF
No code example is currently available or this language may not be supported.
- xMin Single
-
The minimum X coordinate.
- xMax Single
-
The maximum X coordinate.
- yMin Single
-
The minimum Y coordinate.
- yMax Single
-
The maximum Y coordinate.
- wMin Single
-
The minimum width.
- wMax Single
-
The maximum width.
- hMin Single
-
The minimum height.
- hMax Single
-
The maximum height.
RectangleF
The resulting
RectangleF.