Package ch.bailu.gtk.gsk
Class OpacityNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.OpacityNode
- All Implemented Interfaces:
PointerInterface
A render node controlling the opacity of its single child node.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOpacityNode
(RenderNode child, float opacity) Creates a `GskRenderNode` that will drawn the @child with reduced
@opacity.OpacityNode
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptiongetChild()
Gets the child node that is getting opacityed by the given @node.static ClassHandler
static int
float
Gets the transparency factor for an opacity node.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Methods inherited from class ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, ref, serialize, unref, writeToFile, writeToFile
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
OpacityNode
-
OpacityNode
Creates a `GskRenderNode` that will drawn the @child with reduced
@opacity.- Parameters:
child
- The node to drawopacity
- The opacity to apply
-
-
Method Details
-
getClassHandler
-
getChild
Gets the child node that is getting opacityed by the given @node.- Returns:
- The child that is getting opacityed
-
getOpacity
public float getOpacity()Gets the transparency factor for an opacity node.- Returns:
- the opacity factor
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-