ICanvas.DrawRoundedRectangle(Single, 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.
Draws a rectangle with rounded corners onto the canvas.
public:
void DrawRoundedRectangle(float x, float y, float width, float height, float cornerRadius);
public void DrawRoundedRectangle (float x, float y, float width, float height, float cornerRadius);
abstract member DrawRoundedRectangle : single * single * single * single * single -> unit
Public Sub DrawRoundedRectangle (x As Single, y As Single, width As Single, height As Single, cornerRadius As Single)
Parameters
- x
- Single
Starting x
coordinate.
- y
- Single
Starting y
coordinate.
- width
- Single
Width of the rectangle.
- height
- Single
Height of the rectangle.
- cornerRadius
- Single
The radius used to round the corners of the rectangle.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.