UtilDrawingPointRectangleToCenterOfRectangle Method

Points the specified Rectangle to the center of another Rectangle.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: 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
)

Parameters

srcRect  Rectangle
The source Rectangle.
dstRect  Rectangle
The target Rectangle.

Return Value

Point
The resulting coordinates.

See Also