Table of Contents

Method Inflate

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

Inflate(double, double)

Inflates this SvgRect structure by the specified amount.

public void Inflate(double x, double y)

Parameters

x double

The amount to inflate this SvgRect structure horizontally.

y double

The amount to inflate this SvgRect structure vertically.

Inflate(SvgRect, float, float)

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

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

Parameters

rect SvgRect

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

SvgRect

The inflated SvgRect.