Class: Gsk::IsolationNode

Inherits:
RenderNode show all
Defined in:
(unknown)

Overview

A render node that isolates its child from surrounding rendernodes.

Instance Method Summary collapse

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, isolations) ⇒ Gsk::IsolationNode

Creates a GskRenderNode that isolates the drawing operations of
the child from surrounding ones.

You can express "everything but these flags" in a forward compatible
way by using bit math:
GSK_ISOLATION_ALL & ~(GSK_ISOLATION_BACKGROUND | GSK_ISOLATION_COPY_PASTE)
will isolate everything but background and copy/paste.

For the available isolations, see [flagsGsk.Isolation].

Parameters:

Instance Method Details

#child ⇒ Gsk::RenderNode

Gets the child node that is getting drawn by the given node.

Returns:

#isolations ⇒ Gsk::Isolation

Gets the isolation features that are enforced by this node.

Returns: