Class TransformNode
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gsk.RenderNode
org.gnome.gsk.TransformNode
- All Implemented Interfaces:
Proxy
A render node applying a
GskTransform to its single child node.-
Nested Class Summary
Nested classes/interfaces inherited from class RenderNode
RenderNode.RenderNode$Impl -
Constructor Summary
ConstructorsConstructorDescriptionTransformNode(MemorySegment address) Create a TransformNode instance for the provided memory address.TransformNode(RenderNode child, @Nullable Transform transform) Creates aGskRenderNodethat will transform the givenchildwith the giventransform. -
Method Summary
Modifier and TypeMethodDescriptionprotected TransformNodeasParent()Return this instance as if it were its parent type.getChild()Gets the child node that is getting transformed by the givennode.static MemoryLayoutThe memory layout of the native struct.Retrieves theGskTransformused by thenode.static @Nullable TypegetType()Get the GType of the TransformNode 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
-
TransformNode
Create a TransformNode instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
TransformNode
Creates aGskRenderNodethat will transform the givenchildwith the giventransform.- Parameters:
child- The node to transformtransform- The transform to apply
-
-
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 transformed by the givennode.- Returns:
- The child that is getting transformed
-
getTransform
Retrieves theGskTransformused by thenode.- Returns:
- a
GskTransform
-