ColorNode
-
class ColorNode(*args, **kwargs)
Superclasses: RenderNode
A render node for a solid color.
Constructors
-
class ColorNode
-
classmethod new(rgba: RGBA, bounds: Rect) → ColorNode
Creates a GskRenderNode
that will render the color specified by rgba
into
the area given by bounds
.
- Parameters:
-
Methods
-
class ColorNode
-
get_color() → RGBA
Retrieves the color of the given node
.