Package ch.bailu.gtk.gsk
Class TextureNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.TextureNode
- All Implemented Interfaces:
PointerInterface
A render node for a `GdkTexture`.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTextureNode
(Texture texture, Rect bounds) Creates a `GskRenderNode` that will render the given
@texture into the area given by @bounds.TextureNode
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
static int
static long
static TypeSystem.TypeSize
Retrieves the `GdkTexture` used when creating this `GskRenderNode`.static long
static TypeSystem.TypeSize
Methods inherited from class ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, ref, serialize, unref, writeToFile, writeToFile
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
TextureNode
-
TextureNode
Creates a `GskRenderNode` that will render the given
@texture into the area given by @bounds.- Parameters:
texture
- the `GdkTexture`bounds
- the rectangle to render the texture into
-
-
Method Details
-
getClassHandler
-
getTexture
Retrieves the `GdkTexture` used when creating this `GskRenderNode`.- Returns:
- the `GdkTexture`
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-