renderBackground

Renders the background of an element.

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

void
renderBackground

Parameters

context gtk.style_context.StyleContext
cr cairo.context.Context
x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height