Class BlurNode

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class BlurNode extends RenderNode
A render node applying a blur effect to its single child.
  • Constructor Details

    • BlurNode

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

      public BlurNode(RenderNode child, float radius)
      Creates a render node that blurs the child.
      Parameters:
      child - the child node to blur
      radius - the blur radius. Must be positive
  • Method Details

    • getType

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

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

      protected BlurNode 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()
      Retrieves the child GskRenderNode of the blur node.
      Returns:
      the blurred child node
    • getRadius

      public float getRadius()
      Retrieves the blur radius of the node.
      Returns:
      the blur radius