UtilDrawingGetRandomRectangleF(PointF, SizeF) 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(
PointF locationMax,
SizeF sizeMax
)
Public Shared Function GetRandomRectangleF (
locationMax As PointF,
sizeMax As SizeF
) As RectangleF
Dim locationMax As PointF
Dim sizeMax As SizeF
Dim returnValue As RectangleF
returnValue = UtilDrawing.GetRandomRectangleF(locationMax,
sizeMax)
public:
static RectangleF GetRandomRectangleF(
PointF locationMax,
SizeF sizeMax
)
static member GetRandomRectangleF :
locationMax : PointF *
sizeMax : SizeF -> RectangleF
No code example is currently available or this language may not be supported.
- locationMax PointF
-
A PointF that specifies the maximum X and Y coordinates.
- sizeMax SizeF
-
A SizeF that specifies the maximum width and height.
RectangleF
The resulting
RectangleF.