Class BlendNode

All Implemented Interfaces:
PointerInterface

public class BlendNode extends RenderNode
A render node applying a blending function between its two child nodes.

https://docs.gtk.org/gsk4/class.BlendNode.html

  • Constructor Details

    • BlendNode

      public BlendNode(PointerContainer pointer)
    • BlendNode

      public BlendNode(@Nonnull RenderNode bottom, @Nonnull RenderNode top, int blend_mode)
      Creates a `GskRenderNode` that will use @blend_mode to blend the @top
      node onto the @bottom node.
      Parameters:
      bottom - The bottom node to be drawn
      top - The node to be blended onto the @bottom node
      blend_mode - The blend mode to use
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getBlendMode

      public int getBlendMode()
      Retrieves the blend mode used by @node.
      Returns:
      the blend mode
    • getBottomChild

      public RenderNode getBottomChild()
      Retrieves the bottom `GskRenderNode` child of the @node.
      Returns:
      the bottom child node
    • getTopChild

      public RenderNode 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

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()