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