Skip to content

IGraphicsContext.DrawRoundedRectangle method (1 of 3)

Draws a rounded rectangle outline using a pen.

public void DrawRoundedRectangle(Rect rect, double radiusX, double radiusY, Pen pen)

IGraphicsContext.DrawRoundedRectangle method (2 of 3)

Section titled “IGraphicsContext.DrawRoundedRectangle method (2 of 3)”

Draws a rounded rectangle outline.

public void DrawRoundedRectangle(Rect rect, double radiusX, double radiusY, Color color,
double thickness = 1m)

IGraphicsContext.DrawRoundedRectangle method (3 of 3)

Section titled “IGraphicsContext.DrawRoundedRectangle method (3 of 3)”

Draws a rounded rectangle with the stroke inset within rect.

public void DrawRoundedRectangle(Rect rect, double radiusX, double radiusY, Color color,
double thickness, bool strokeInset)