Class CopyNode
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gsk.RenderNode
org.gnome.gsk.CopyNode
- All Implemented Interfaces:
Proxy
A render node that copies the current state of the rendering canvas
so a
PasteNode can draw it.- Since:
- 4.22
-
Nested Class Summary
Nested classes/interfaces inherited from class RenderNode
RenderNode.RenderNode$Impl -
Constructor Summary
ConstructorsConstructorDescriptionCopyNode(MemorySegment address) Create a CopyNode instance for the provided memory address.CopyNode(RenderNode child) Creates aGskRenderNodethat copies the current rendering canvas for playback by paste nodes that are part of the child. -
Method Summary
Modifier and TypeMethodDescriptionprotected CopyNodeasParent()Return this instance as if it were its parent type.getChild()Gets the child node that is getting drawn by the givennode.static MemoryLayoutThe memory layout of the native struct.static @Nullable TypegetType()Get the GType of the CopyNode 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
-
CopyNode
Create a CopyNode instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
CopyNode
Creates aGskRenderNodethat copies the current rendering canvas for playback by paste nodes that are part of the child.- Parameters:
child- The child- 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
-