Class RepeatNode

All Implemented Interfaces:
PointerInterface

public class RepeatNode extends RenderNode
A render node repeating its single child node.

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

  • Constructor Details

    • RepeatNode

      public RepeatNode(PointerContainer pointer)
    • RepeatNode

      public RepeatNode(@Nonnull Rect bounds, @Nonnull RenderNode child, @Nullable Rect child_bounds)
      Creates a `GskRenderNode` that will repeat the drawing of @child across
      the given @bounds.
      Parameters:
      bounds - The bounds of the area to be painted
      child - The child to repeat
      child_bounds - The area of the child to repeat or %NULL to use the child's bounds
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChild

      public RenderNode getChild()
      Retrieves the child of @node.
      Returns:
      a `GskRenderNode`
    • getChildBounds

      public Rect getChildBounds()
      Retrieves the bounding rectangle of the child of @node.
      Returns:
      a bounding rectangle
    • 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()