CADability dotNET
Returns an inflated or deflated rectangle

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static BoundingRect operator +(
	BoundingRect rect,
	double offset
)
Visual Basic
Public Shared Operator + ( _
	rect As BoundingRect, _
	offset As Double _
) As BoundingRect
Visual C++
public:
static BoundingRect operator +(
	BoundingRect rect, 
	double offset
)

Parameters

rect
Type: CADability..::..BoundingRect
The initial rectangle
offset
Type: System..::..Double
The offset for the inflation (may be negaitve)

Return Value

The inflated rectangle

See Also