cairo_rounded_rectangle


Description:

public static void cairo_rounded_rectangle (Context cr, double x, double y, double width, double height, double radius)

Adds a closed sub-path rounded rectangle of the given size and border radius to the current path at position (x, y) in user-space coordinates.

Parameters:

cr

a Cairo.Context

x

the X coordinate of the top left corner of the rounded rectangle

y

the Y coordinate to the top left corner of the rounded rectangle

width

the width of the rounded rectangle

height

the height of the rounded rectangle

radius

the border radius of the rounded rectangle