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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.