init
fun init(bounds: <Error class: unknown class>, topLeft: <Error class: unknown class>, topRight: <Error class: unknown class>, bottomRight: <Error class: unknown class>, bottomLeft: <Error class: unknown class>): RoundedRect
Initializes the given GskRoundedRect
with the given values.
This function will implicitly normalize the GskRoundedRect
before returning.
Return
the initialized rectangle
Parameters
bounds
a graphene_rect_t
describing the bounds
topLeft
the rounding radius of the top left corner
topRight
the rounding radius of the top right corner
bottomRight
the rounding radius of the bottom right corner
bottomLeft
the rounding radius of the bottom left corner