UtilDrawingPointRectangleToCenterOfRectangle Method
Points the specified Rectangle to the center of another Rectangle.
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 Point PointRectangleToCenterOfRectangle(
Rectangle srcRect,
Rectangle dstRect
)
Public Shared Function PointRectangleToCenterOfRectangle (
srcRect As Rectangle,
dstRect As Rectangle
) As Point
Dim srcRect As Rectangle
Dim dstRect As Rectangle
Dim returnValue As Point
returnValue = UtilDrawing.PointRectangleToCenterOfRectangle(srcRect,
dstRect)
public:
static Point PointRectangleToCenterOfRectangle(
Rectangle srcRect,
Rectangle dstRect
)
static member PointRectangleToCenterOfRectangle :
srcRect : Rectangle *
dstRect : Rectangle -> Point
No code example is currently available or this language may not be supported.
- srcRect Rectangle
-
The source Rectangle.
- dstRect Rectangle
-
The target Rectangle.
Point
The resulting coordinates.