Enum Class RenderNodeType

java.lang.Object
java.lang.Enum<RenderNodeType>
org.gnome.gsk.RenderNodeType
All Implemented Interfaces:
Serializable, Comparable<RenderNodeType>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum RenderNodeType extends Enum<RenderNodeType> implements Enumeration
The type of a node determines what the node is rendering.
  • Enum Constant Details

    • NOT_A_RENDER_NODE

      public static final RenderNodeType NOT_A_RENDER_NODE
      Error type. No node will ever have this type.
    • CONTAINER_NODE

      public static final RenderNodeType CONTAINER_NODE
      A node containing a stack of children
    • CAIRO_NODE

      public static final RenderNodeType CAIRO_NODE
      A node drawing a cairo_surface_t
    • COLOR_NODE

      public static final RenderNodeType COLOR_NODE
      A node drawing a single color rectangle
    • LINEAR_GRADIENT_NODE

      public static final RenderNodeType LINEAR_GRADIENT_NODE
      A node drawing a linear gradient
    • REPEATING_LINEAR_GRADIENT_NODE

      public static final RenderNodeType REPEATING_LINEAR_GRADIENT_NODE
      A node drawing a repeating linear gradient
    • RADIAL_GRADIENT_NODE

      public static final RenderNodeType RADIAL_GRADIENT_NODE
      A node drawing a radial gradient
    • REPEATING_RADIAL_GRADIENT_NODE

      public static final RenderNodeType REPEATING_RADIAL_GRADIENT_NODE
      A node drawing a repeating radial gradient
    • CONIC_GRADIENT_NODE

      public static final RenderNodeType CONIC_GRADIENT_NODE
      A node drawing a conic gradient
    • BORDER_NODE

      public static final RenderNodeType BORDER_NODE
      A node stroking a border around an area
    • TEXTURE_NODE

      public static final RenderNodeType TEXTURE_NODE
      A node drawing a GdkTexture
    • INSET_SHADOW_NODE

      public static final RenderNodeType INSET_SHADOW_NODE
      A node drawing an inset shadow
    • OUTSET_SHADOW_NODE

      public static final RenderNodeType OUTSET_SHADOW_NODE
      A node drawing an outset shadow
    • TRANSFORM_NODE

      public static final RenderNodeType TRANSFORM_NODE
      A node that renders its child after applying a matrix transform
    • OPACITY_NODE

      public static final RenderNodeType OPACITY_NODE
      A node that changes the opacity of its child
    • COLOR_MATRIX_NODE

      public static final RenderNodeType COLOR_MATRIX_NODE
      A node that applies a color matrix to every pixel
    • REPEAT_NODE

      public static final RenderNodeType REPEAT_NODE
      A node that repeats the child's contents
    • CLIP_NODE

      public static final RenderNodeType CLIP_NODE
      A node that clips its child to a rectangular area
    • ROUNDED_CLIP_NODE

      public static final RenderNodeType ROUNDED_CLIP_NODE
      A node that clips its child to a rounded rectangle
    • SHADOW_NODE

      public static final RenderNodeType SHADOW_NODE
      A node that draws a shadow below its child
    • BLEND_NODE

      public static final RenderNodeType BLEND_NODE
      A node that blends two children together
    • CROSS_FADE_NODE

      public static final RenderNodeType CROSS_FADE_NODE
      A node that cross-fades between two children
    • TEXT_NODE

      public static final RenderNodeType TEXT_NODE
      A node containing a glyph string
    • BLUR_NODE

      public static final RenderNodeType BLUR_NODE
      A node that applies a blur
    • DEBUG_NODE

      public static final RenderNodeType DEBUG_NODE
      Debug information that does not affect the rendering
    • GL_SHADER_NODE

      public static final RenderNodeType GL_SHADER_NODE
      A node that uses OpenGL fragment shaders to render
    • TEXTURE_SCALE_NODE

      public static final RenderNodeType TEXTURE_SCALE_NODE
      A node drawing a GdkTexture scaled and filtered.
      Since:
      4.10
    • MASK_NODE

      public static final RenderNodeType MASK_NODE
      A node that masks one child with another.
      Since:
      4.10
    • FILL_NODE

      public static final RenderNodeType FILL_NODE
      A node that fills a path.
      Since:
      4.14
    • STROKE_NODE

      public static final RenderNodeType STROKE_NODE
      A node that strokes a path.
      Since:
      4.14
    • SUBSURFACE_NODE

      public static final RenderNodeType SUBSURFACE_NODE
      A node that possibly redirects part of the scene graph to a subsurface.
      Since:
      4.14
    • COMPONENT_TRANSFER_NODE

      public static final RenderNodeType COMPONENT_TRANSFER_NODE
      A node that applies some function to each color component.
      Since:
      4.20
    • COPY_NODE

      public static final RenderNodeType COPY_NODE
      A node that copies the rendering canvas to be pasted later.
      Since:
      4.22
    • PASTE_NODE

      public static final RenderNodeType PASTE_NODE
      A node that pastes a previously copied canvas.
      Since:
      4.22
    • COMPOSITE_NODE

      public static final RenderNodeType COMPOSITE_NODE
      A node that combines a child with the background using Porter/Duff operations.
      Since:
      4.22
    • ISOLATION_NODE

      public static final RenderNodeType ISOLATION_NODE
      A node that isolated content of its child from previous content.
      Since:
      4.22
    • DISPLACEMENT_NODE

      public static final RenderNodeType DISPLACEMENT_NODE
      A node that displaces content according to some mask.
      Since:
      4.22
    • ARITHMETIC_NODE

      public static final RenderNodeType ARITHMETIC_NODE
      A node that combines two child nodes in an arithmetic way.
      Since:
      4.22
  • Method Details

    • values

      public static RenderNodeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RenderNodeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static RenderNodeType of(int value)
      Create a new RenderNodeType for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static RenderNodeType of(MemorySegment address)
      Create a new RenderNodeType for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

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