Class: Gsk::ColorNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::ColorNode
- Defined in:
- (unknown)
Overview
A render node for a solid color.
Instance Method Summary collapse
-
#color ⇒ Gdk::RGBA
Retrieves the color of the given node.
-
#initialize(rgba, bounds) ⇒ Gsk::ColorNode
constructor
Creates a
GskRenderNodethat will render the color specified by rgba into the area given by bounds.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(rgba, bounds) ⇒ Gsk::ColorNode
Creates a GskRenderNode that will render the color specified by rgba into
the area given by bounds.
Instance Method Details
#color ⇒ Gdk::RGBA
Retrieves the color of the given node.