Package org.gnome.gsk
Enum Class RenderNodeType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<RenderNodeType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum RenderNodeType
extends Enum<RenderNodeType>
implements Enumeration
The type of a node determines what the node is rendering.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA node that blends two children togetherA node that applies a blurA node stroking a border around an areaA node drawing acairo_surface_t
A node that clips its child to a rectangular areaA node that applies a color matrix to every pixelA node drawing a single color rectangleA node drawing a conic gradientA node containing a stack of childrenA node that cross-fades between two childrenDebug information that does not affect the renderingA node that fills a path.A node that uses OpenGL fragment shaders to renderA node drawing an inset shadowA node drawing a linear gradientA node that masks one child with another.Error type.A node that changes the opacity of its childA node drawing an outset shadowA node drawing a radial gradientA node that repeats the child's contentsA node drawing a repeating linear gradientA node drawing a repeating radial gradientA node that clips its child to a rounded rectangleA node that draws a shadow below its childA node that strokes a path.A node that possibly redirects part of the scene graph to a subsurface.A node containing a glyph stringA node drawing aGdkTexture
A node drawing aGdkTexture
scaled and filtered.A node that renders its child after applying a matrix transform -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the RenderNodeType classint
getValue()
Get the numeric value of this enumstatic RenderNodeType
of
(int value) Create a new RenderNodeType for the provided valuestatic RenderNodeType
Returns the enum constant of this class with the specified name.static RenderNodeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_A_RENDER_NODE
Error type. No node will ever have this type. -
CONTAINER_NODE
A node containing a stack of children -
CAIRO_NODE
A node drawing acairo_surface_t
-
COLOR_NODE
A node drawing a single color rectangle -
LINEAR_GRADIENT_NODE
A node drawing a linear gradient -
REPEATING_LINEAR_GRADIENT_NODE
A node drawing a repeating linear gradient -
RADIAL_GRADIENT_NODE
A node drawing a radial gradient -
REPEATING_RADIAL_GRADIENT_NODE
A node drawing a repeating radial gradient -
CONIC_GRADIENT_NODE
A node drawing a conic gradient -
BORDER_NODE
A node stroking a border around an area -
TEXTURE_NODE
A node drawing aGdkTexture
-
INSET_SHADOW_NODE
A node drawing an inset shadow -
OUTSET_SHADOW_NODE
A node drawing an outset shadow -
TRANSFORM_NODE
A node that renders its child after applying a matrix transform -
OPACITY_NODE
A node that changes the opacity of its child -
COLOR_MATRIX_NODE
A node that applies a color matrix to every pixel -
REPEAT_NODE
A node that repeats the child's contents -
CLIP_NODE
A node that clips its child to a rectangular area -
ROUNDED_CLIP_NODE
A node that clips its child to a rounded rectangle -
SHADOW_NODE
A node that draws a shadow below its child -
BLEND_NODE
A node that blends two children together -
CROSS_FADE_NODE
A node that cross-fades between two children -
TEXT_NODE
A node containing a glyph string -
BLUR_NODE
A node that applies a blur -
DEBUG_NODE
Debug information that does not affect the rendering -
GL_SHADER_NODE
A node that uses OpenGL fragment shaders to render -
TEXTURE_SCALE_NODE
A node drawing aGdkTexture
scaled and filtered. -
MASK_NODE
A node that masks one child with another. -
FILL_NODE
A node that fills a path. -
STROKE_NODE
A node that strokes a path. -
SUBSURFACE_NODE
A node that possibly redirects part of the scene graph to a subsurface.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
of
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 interfaceEnumeration
- Returns:
- the enum value
-
getType
-