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
)
Public Shared Operator Or (
rect As MapRectangle,
point As Point
) As MapRectangle
public:
static MapRectangle^ operator |(
MapRectangle^ rect,
Point point
)
static let inline (|||)
rect : MapRectangle *
point : Point : MapRectangle
Parameters
- rect
- Type: Ptv.XServer.Controls.MapMapRectangle
Rectangle of the unification. - point
- Type: System.WindowsPoint
Point to unify.
Return Value
Type:
MapRectangleUnified rectangle returned as a new instance.
See Also