Klasse SubsurfaceNode

Alle implementierten Schnittstellen:
PointerInterface

public class SubsurfaceNode extends RenderNode
A render node that potentially diverts a part of the scene graph to a subsurface.

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

  • Konstruktordetails

    • SubsurfaceNode

      public SubsurfaceNode(PointerContainer pointer)
    • SubsurfaceNode

      public SubsurfaceNode(@Nonnull RenderNode child, @Nullable Pointer subsurface)
      Creates a `GskRenderNode` that will possibly divert the child
      node to a subsurface.

      Note: Since subsurfaces are currently private, these nodes cannot
      currently be created outside of GTK. See
      [GtkGraphicsOffload](../gtk4/class.GraphicsOffload.html).
      Parameter:
      child - The child to divert to a subsurface
      subsurface - the subsurface to use
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChild

      public RenderNode getChild()
      Gets the child node that is getting drawn by the given @node.
      Gibt zurück:
      the child `GskRenderNode`
    • getSubsurface

      public static Pointer getSubsurface(@Nonnull DebugNode node)
      Gets the subsurface that was set on this node
      Parameter:
      node - a debug `GskRenderNode`
      Gibt zurück:
      the subsurface
    • 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()