class Gsk::ClipNode
- Gsk::ClipNode
- Gsk::RenderNode
- Reference
- Object
Overview
A render node applying a rectangular clip to its single child node.
Defined in:
lib/gi-crystal/src/auto/gsk-4.0/clip_node.crConstructors
-
.new(child : Gsk::RenderNode, clip : Graphene::Rect) : self
Creates a
Gsk::RenderNode
that will clip the @child to the area given by @clip. -
.new
Initialize a new
ClipNode
.
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 clipped by the given @node.
-
#clip : Graphene::Rect
Retrieves the clip rectangle for @node.