SKRectI.Inflate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Inflate(Int32, Int32) |
Enlarges this SKRectI structure by the specified amount. |
Inflate(SKRectI, Int32, Int32) |
Creates and returns an enlarged copy of the specified SKRectI structure. The copy is enlarged by the specified amount and the original rectangle remains unmodified. |
Inflate(SKSizeI) |
Enlarges this SKRectI structure by the specified amount. |
Inflate(Int32, Int32)
Inflate(SKRectI, Int32, Int32)
Creates and returns an enlarged copy of the specified SKRectI structure. The copy is enlarged by the specified amount and the original rectangle remains unmodified.
public static SkiaSharp.SKRectI Inflate (SkiaSharp.SKRectI rect, int x, int y);
Parameters
- x
- Int32
The amount to enlarge the copy of the rectangle horizontally.
- y
- Int32
The amount to enlarge the copy of the rectangle vertically.
Returns
The enlarged SKRectI.
Applies to
SkiaSharp