renderFrame

fun renderFrame(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 a frame around the rectangle defined by @x, @y, @width, @height.

Examples of frame rendering, showing the effect of border-image, border-color, border-width, border-radius and junctions:

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