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
xdoubleThe amount to inflate this SvgRect structure horizontally.
ydoubleThe 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
rectSvgRectThe SvgRect to be copied. This rectangle is not modified.
xfloatThe amount to inflate the copy of the rectangle horizontally.
yfloatThe amount to inflate the copy of the rectangle vertically.