RoundedRect.init_

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 graphene.rect.Rect

a graphene.rect.Rect describing the bounds

topLeft graphene.size.Size

the rounding radius of the top left corner

topRight graphene.size.Size

the rounding radius of the top right corner

bottomRight graphene.size.Size

the rounding radius of the bottom right corner

bottomLeft graphene.size.Size

the rounding radius of the bottom left corner

Return Value

Type: gsk.rounded_rect.RoundedRect

the initialized rectangle