Class ColorNode

All Implemented Interfaces:
PointerInterface

public class ColorNode extends RenderNode
A render node for a solid color.

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

  • Constructor Details

    • ColorNode

      public ColorNode(PointerContainer pointer)
    • ColorNode

      public ColorNode(@Nonnull RGBA rgba, @Nonnull Rect bounds)
      Creates a `GskRenderNode` that will render the color specified by @rgba into
      the area given by @bounds.
      Parameters:
      rgba - a `GdkRGBA` specifying a color
      bounds - the rectangle to render the color into
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getColor

      public RGBA getColor()
      Retrieves the color of the given @node.
      Returns:
      the color of the node
    • 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()