init
Description:
public unowned RoundedRect? init (Rect bounds, Size top_left, Size top_right, Size bottom_right, Size bottom_left)
Initializes a rounded rectangle with the given values.
This function will implicitly normalize the rounded rectangle before returning.
Parameters:
| this |
the rounded rectangle to initialize |
| bounds |
a `graphene_rect_t` describing the bounds |
| top_left |
the rounding radius of the top left corner |
| top_right |
the rounding radius of the top right corner |
| bottom_right |
the rounding radius of the bottom right corner |
| bottom_left |
the rounding radius of the bottom left corner |
Returns:
|
the initialized rounded rectangle |