Package ch.bailu.gtk.gsk
Class BlendNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.BlendNode
- All Implemented Interfaces:
PointerInterface
A render node applying a blending function between its two child nodes.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlendNode
(RenderNode bottom, RenderNode top, int blend_mode) Creates a `GskRenderNode` that will use @blend_mode to blend the @top
node onto the @bottom node.BlendNode
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the blend mode used by @node.Retrieves the bottom `GskRenderNode` child of the @node.static ClassHandler
static int
static long
static TypeSystem.TypeSize
Retrieves the top `GskRenderNode` child of the @node.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
-
BlendNode
-
BlendNode
Creates a `GskRenderNode` that will use @blend_mode to blend the @top
node onto the @bottom node.- Parameters:
bottom
- The bottom node to be drawntop
- The node to be blended onto the @bottom nodeblend_mode
- The blend mode to use
-
-
Method Details
-
getClassHandler
-
getBlendMode
public int getBlendMode()Retrieves the blend mode used by @node.- Returns:
- the blend mode
-
getBottomChild
Retrieves the bottom `GskRenderNode` child of the @node.- Returns:
- the bottom child node
-
getTopChild
Retrieves the top `GskRenderNode` child of the @node.- Returns:
- the top child node
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-