Class: Gsk::OpacityNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::OpacityNode
- Defined in:
- (unknown)
Overview
A render node controlling the opacity of its single child node.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting opacityed by the given node.
-
#initialize(child, opacity) ⇒ Gsk::OpacityNode
constructor
Creates a
GskRenderNodethat will drawn the child with reduced opacity. -
#opacity ⇒ Gsk::gfloat
Gets the transparency factor for an opacity node.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(child, opacity) ⇒ Gsk::OpacityNode
Creates a GskRenderNode that will drawn the child with reduced
opacity.
Instance Method Details
#child ⇒ Gsk::RenderNode
Gets the child node that is getting opacityed by the given node.
#opacity ⇒ Gsk::gfloat
Gets the transparency factor for an opacity node.