Class FillNode

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class FillNode extends RenderNode
A render node filling the area given by Gsk.Path and Gsk.FillRule with the child node.
Since:
4.14
  • Constructor Details

    • FillNode

      public FillNode(MemorySegment address)
      Create a FillNode instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • FillNode

      public FillNode(RenderNode child, Path path, FillRule fillRule)
      Creates a GskRenderNode that will fill the child in the area given by path and fillRule.
      Parameters:
      child - The node to fill the area with
      path - The path describing the area to fill
      fillRule - The fill rule to use
      Since:
      4.14
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the FillNode class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected FillNode asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class RenderNode
      Returns:
      the instance as if it were its parent type
    • getChild

      public RenderNode getChild()
      Gets the child node that is getting drawn by the given node.
      Returns:
      The child that is getting drawn
      Since:
      4.14
    • getFillRule

      public FillRule getFillRule()
      Retrieves the fill rule used to determine how the path is filled.
      Returns:
      a GskFillRule
      Since:
      4.14
    • getPath

      public Path getPath()
      Retrieves the path used to describe the area filled with the contents of the node.
      Returns:
      a GskPath
      Since:
      4.14