Table of Contents

Method Inflate

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

Inflate(RectangleF, float, float)

Creates and returns an inflated copy of the specified RectangleF structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.

public static RectangleF Inflate(RectangleF rect, float x, float y)

Parameters

rect RectangleF

The RectangleF to be copied. This rectangle is not modified.

x float

The amount to inflate the copy of the rectangle horizontally.

y float

The amount to inflate the copy of the rectangle vertically.

Returns

RectangleF

The inflated RectangleF.

Inflate(float, float)

Inflates this RectangleF structure by the specified amount.

public void Inflate(float x, float y)

Parameters

x float

The amount to inflate this RectangleF structure horizontally.

y float

The amount to inflate this RectangleF structure vertically.

Inflate(SizeF)

Inflates this RectangleF by the specified amount.

public void Inflate(SizeF size)

Parameters

size SizeF

The amount to inflate this rectangle.