Snapshot.appendColor

void appendColor(gdk.rgba.RGBA color, graphene.rect.Rect bounds)

Creates a new render node drawing the color into the given bounds and appends it to the current render node of snapshot.

You should try to avoid calling this function if color is transparent.

Parameters

colorthe color to draw
boundsthe bounds for the new node