Class IsolationNode
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gsk.RenderNode
org.gnome.gsk.IsolationNode
- All Implemented Interfaces:
Proxy
A render node that isolates its child from surrounding rendernodes.
- Since:
- 4.22
-
Nested Class Summary
Nested classes/interfaces inherited from class RenderNode
RenderNode.RenderNode$Impl -
Constructor Summary
ConstructorsConstructorDescriptionIsolationNode(MemorySegment address) Create a IsolationNode instance for the provided memory address.IsolationNode(RenderNode child, Set<Isolation> isolations) Creates aGskRenderNodethat isolates the drawing operations of the child from surrounding ones.IsolationNode(RenderNode child, Isolation... isolations) Creates aGskRenderNodethat isolates the drawing operations of the child from surrounding ones. -
Method Summary
Modifier and TypeMethodDescriptionprotected IsolationNodeasParent()Return this instance as if it were its parent type.getChild()Gets the child node that is getting drawn by the givennode.Gets the isolation features that are enforced by this node.static MemoryLayoutThe memory layout of the native struct.static @Nullable TypegetType()Get the GType of the IsolationNode class.Methods inherited from class RenderNode
deserialize, draw, getBounds, getChildren, getNodeType, getOpaqueRect, ref, serialize, unref, writeToFileMethods inherited from class TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
IsolationNode
Create a IsolationNode instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
IsolationNode
Creates a
GskRenderNodethat 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
Gsk.Isolation.- Parameters:
child- The childisolations- features to isolate- Since:
- 4.22
-
IsolationNode
Creates a
GskRenderNodethat 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
Gsk.Isolation.- Parameters:
child- The childisolations- features to isolate- Since:
- 4.22
-
-
Method Details
-
getType
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
asParent
Return this instance as if it were its parent type. Comparable to the Javasuperkeyword, but ensures the parent typeclass is also used in native code.- Overrides:
asParentin classRenderNode- Returns:
- the instance as if it were its parent type
-
getChild
Gets the child node that is getting drawn by the givennode.- Returns:
- the child
GskRenderNode - Since:
- 4.22
-
getIsolations
-