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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour