Class RoundedClipNode

All Implemented Interfaces:
PointerInterface

public class RoundedClipNode extends RenderNode
A render node applying a rounded rectangle clip to its single child.

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

  • Constructor Details

    • RoundedClipNode

      public RoundedClipNode(PointerContainer pointer)
    • RoundedClipNode

      public RoundedClipNode(@Nonnull RenderNode child, @Nonnull RoundedRect clip)
      Creates a `GskRenderNode` that will clip the @child to the area
      given by @clip.
      Parameters:
      child - The node to draw
      clip - The clip to apply
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChild

      public RenderNode getChild()
      Gets the child node that is getting clipped by the given @node.
      Returns:
      The child that is getting clipped
    • getClip

      public RoundedRect getClip()
      Retrieves the rounded rectangle used to clip the contents of the @node.
      Returns:
      a rounded 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()