Klasse TextureNode

Alle implementierten Schnittstellen:
PointerInterface

public class TextureNode extends RenderNode
A render node for a `GdkTexture`.

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

  • Konstruktordetails

    • TextureNode

      public TextureNode(PointerContainer pointer)
    • TextureNode

      public TextureNode(@Nonnull Texture texture, @Nonnull Rect bounds)
      Creates a `GskRenderNode` that will render the given
      @texture into the area given by @bounds.

      Note that GSK applies linear filtering when textures are
      scaled and transformed. See [class@Gsk.TextureScaleNode]
      for a way to influence filtering.
      Parameter:
      texture - the `GdkTexture`
      bounds - the rectangle to render the texture into
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getTexture

      public Texture getTexture()
      Retrieves the `GdkTexture` used when creating this `GskRenderNode`.
      Gibt zurück:
      the `GdkTexture`
    • 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()