Class: Gsk::ComponentTransferNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::ComponentTransferNode
- Defined in:
- (unknown)
Overview
A render node for applying a GskComponentTransfer for each color
component of the child node.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
-
#get_transfer(component) ⇒ Gsk::ComponentTransfer
Gets the component transfer for one of the components.
-
#initialize(child, r, g, b, a) ⇒ Gsk::ComponentTransferNode
constructor
Creates a render node that will apply component transfers to a child node.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #get_children, #get_opaque_rect, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(child, r, g, b, a) ⇒ Gsk::ComponentTransferNode
Creates a render node that will apply component
transfers to a child node.
Instance Method Details
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
#get_transfer(component) ⇒ Gsk::ComponentTransfer
Gets the component transfer for one of the components.