Package ch.bailu.gtk.gsk
Class ColorNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.ColorNode
- All Implemented Interfaces:
PointerInterface
A render node for a solid color.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a `GskRenderNode` that will render the color specified by @rgba into
the area given by @bounds.ColorNode(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlergetColor()Retrieves the color of the given @node.static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeMethods inherited from class ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, ref, serialize, unref, writeToFile, writeToFileMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
ColorNode
-
ColorNode
Creates a `GskRenderNode` that will render the color specified by @rgba into
the area given by @bounds.- Parameters:
rgba- a `GdkRGBA` specifying a colorbounds- the rectangle to render the color into
-
-
Method Details
-
getClassHandler
-
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
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-