init


Description:

public unowned RoundedRect? init (Rect bounds, Size top_left, Size top_right, Size bottom_right, Size bottom_left)

Initializes the given `GskRoundedRect` with the given values.

This function will implicitly normalize the `GskRoundedRect` before returning.

Parameters:

this

The `GskRoundedRect` to initialize

bounds

a `graphene_rect_t` describing the bounds

top_left

the rounding radius of the top left corner

top_right

the rounding radius of the top right corner

bottom_right

the rounding radius of the bottom right corner

bottom_left

the rounding radius of the bottom left corner

Returns:

the initialized rectangle




2022 vala-language.org