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