SKRoundRect.Deflate 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
Deflate(SKSize) |
Deflate the rectangle by the specified amount. |
Deflate(Single, Single) |
Deflate the rectangle by the specified amount. |
Deflate(SKSize)
Deflate the rectangle by the specified amount.
public void Deflate (SkiaSharp.SKSize size);
Parameters
- size
- SKSize
The amount to deflate the rectangle by.
Remarks
The corner radii are adjusted by the amount of the deflation if they are round.
Applies to
Deflate(Single, Single)
Deflate the rectangle by the specified amount.
public void Deflate (float dx, float dy);
Parameters
- dx
- Single
The amount to deflate the rectangle by along the x-axis.
- dy
- Single
The amount to deflate the rectangle by along the y-axis.
Remarks
The corner radii are adjusted by the amount of the deflation if they are round.