MapRectangleUnion Method (Point) |
Updates this rectangle to be the union of this and parameter point. I.e. the rectangle boundaries and the point
itself are included in the new boundaries.
If point has Double.IsNaN coordinates, the boundaries remain unchanged.
If this is empty, the boundaries are adapted to the point's coordinates (width and height will be 0).
Namespace:
Ptv.XServer.Controls.Map
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public MapRectangle Union(
Point point
)
Public Function Union (
point As Point
) As MapRectangle
public:
MapRectangle^ Union(
Point point
)
member Union :
point : Point -> MapRectangle
Parameters
- point
- Type: System.WindowsPoint
The point to 'incorporate' into this object.
Return Value
Type:
MapRectangleThe object itself is returned, so it can be reused in the same line of code.
See Also