Click or drag to resize

MapRectangleBitwiseOr Operator (MapRectangle, Point)

Unifies the rectangle rect and point. If point has Double.IsNaN coordinates, the resulting rectangle has the same values as rect. If rect is empty, the boundaries of the resulting rectangle 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 static MapRectangle operator |(
	MapRectangle rect,
	Point point
)

Parameters

rect
Type: Ptv.XServer.Controls.MapMapRectangle
Rectangle of the unification.
point
Type: System.WindowsPoint
Point to unify.

Return Value

Type: MapRectangle
Unified rectangle returned as a new instance.
See Also