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