RoundedRect.initFromRect
gsk.rounded_rect.RoundedRect initFromRect(graphene.rect.Rect bounds, float radius)Initializes self to the given bounds and sets the radius of all four corners to radius.
Parameters
bounds | a [graphene.rect.Rect] |
radius | the border radius |
Returns
the initialized rectangle