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
doubleThe amount to inflate this SvgRect structure horizontally.
y
doubleThe 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
SvgRectThe SvgRect to be copied. This rectangle is not modified.
x
floatThe amount to inflate the copy of the rectangle horizontally.
y
floatThe amount to inflate the copy of the rectangle vertically.