Package ch.bailu.gtk.gsk
Class BlurNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.BlurNode
- All Implemented Interfaces:
PointerInterface
A render node applying a blur effect to its single child.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBlurNode(RenderNode child, float radius) Creates a render node that blurs the child.BlurNode(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptiongetChild()Retrieves the child `GskRenderNode` of the blur @node.static ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizefloatRetrieves the blur radius of the @node.static 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
-
BlurNode
-
BlurNode
Creates a render node that blurs the child.- Parameters:
child- the child node to blurradius- the blur radius. Must be positive
-
-
Method Details
-
getClassHandler
-
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
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-