renderBackground

fun renderBackground(    context: StyleContext,     cr: <Error class: unknown class>,     x: <Error class: unknown class>,     y: <Error class: unknown class>,     width: <Error class: unknown class>,     height: <Error class: unknown class>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

---

Renders the background of an element.

Typical background rendering, showing the effect of background-image, border-width and border-radius:

Parameters

context

a GtkStyleContext

cr

a cairo_t

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height