SKRoundRect.SetNinePatch(SKRect, Single, Single, Single, Single) 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.
Set this rounded rectangle to a nine-patch rectangle.
public void SetNinePatch (SkiaSharp.SKRect rect, float leftRadius, float topRadius, float rightRadius, float bottomRadius);
Parameters
- rect
- SKRect
The interior rectangle.
- leftRadius
- Single
The radii along the x-axis on the left side of the rectangle.
- topRadius
- Single
The radii along the y-axis on the top of the rectangle.
- rightRadius
- Single
The radii along the x-axis on the right side of the rectangle.
- bottomRadius
- Single
The radii along the y-axis on the bottom of the rectangle.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
SkiaSharp