Snapshot.renderFrame

Creates a render node for the CSS border according to @context, and appends it to the current node of @snapshot, without changing the current node.

class Snapshot
void
renderFrame
(,
double x
,
double y
,
double width
,
double height
)

Parameters

context StyleContext

the GtkStyleContext to use

x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height

Meta