class Gsk::OpacityNode
- Gsk::OpacityNode
- Gsk::RenderNode
- Reference
- Object
Overview
A render node controlling the opacity of its single child node.
Defined in:
lib/gi-crystal/src/auto/gsk-4.0/opacity_node.crConstructors
-
.new(child : Gsk::RenderNode, opacity : Float32) : self
Creates a
Gsk::RenderNode
that will drawn the @child with reduced @opacity. -
.new
Initialize a new
OpacityNode
.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#child : Gsk::RenderNode
Gets the child node that is getting opacityed by the given @node.
-
#opacity : Float32
Gets the transparency factor for an opacity node.