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