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

boundsa [graphene.rect.Rect] describing the bounds
topLeftthe rounding radius of the top left corner
topRightthe rounding radius of the top right corner
bottomRightthe rounding radius of the bottom right corner
bottomLeftthe rounding radius of the bottom left corner

Returns

the initialized rectangle