Snapshot.appendColor

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.

class Snapshot
void
appendColor

Parameters

color gdk.rgba.RGBA

the color to draw

bounds graphene.rect.Rect

the bounds for the new node