Table of Contents

Method Inflate

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Core.dll

Inflate(float, float)

Inflates this SvgRectF structure by the specified amount.

public void Inflate(float x, float y)

Parameters

x float

The amount to inflate this SvgRectF structure horizontally.

y float

The amount to inflate this SvgRectF structure vertically.

Inflate(SvgSizeF)

Inflates this SvgRectF by the specified amount.

public void Inflate(SvgSizeF size)

Parameters

size SvgSizeF

The amount to inflate this rectangle.

Inflate(SvgRectF, float, float)

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

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

Parameters

rect SvgRectF

The SvgRectF 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

SvgRectF

The inflated SvgRectF.