RoundedRect.init_
gsk.rounded_rect.RoundedRect init_(graphene.rect.Rect bounds, graphene.size.Size topLeft, graphene.size.Size topRight, graphene.size.Size bottomRight, graphene.size.Size bottomLeft)Initializes the given gsk.rounded_rect.RoundedRect with the given values.
This function will implicitly normalize the gsk.rounded_rect.RoundedRect before returning.
Parameters
bounds | a graphene.rect.Rect describing the bounds |
topLeft | the rounding radius of the top left corner |
topRight | the rounding radius of the top right corner |
bottomRight | the rounding radius of the bottom right corner |
bottomLeft | the rounding radius of the bottom left corner |
Returns
the initialized rectangle