RoundedRect.init

Initializes the given GskRoundedRect with the given values.

This function will implicitly normalize the GskRoundedRect before returning.

Parameters

bounds Rect

a graphene_rect_t describing the bounds

topLeft Size

the rounding radius of the top left corner

topRight Size

the rounding radius of the top right corner

bottomRight Size

the rounding radius of the bottom right corner

bottomLeft Size

the rounding radius of the bottom left corner

Return Value

the initialized rectangle

Meta