Package ch.bailu.gtk.gsk
Class ClipNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.ClipNode
- All Implemented Interfaces:
PointerInterface
A render node applying a rectangular clip to its single child node.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionClipNode(RenderNode child, Rect clip) Creates a `GskRenderNode` that will clip the @child to the area
given by @clip.ClipNode(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptiongetChild()Gets the child node that is getting clipped by the given @node.static ClassHandlergetClip()Retrieves the clip rectangle for @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
-
ClipNode
-
ClipNode
Creates a `GskRenderNode` that will clip the @child to the area
given by @clip.- Parameters:
child- The node to drawclip- The clip to apply
-
-
Method Details
-
getClassHandler
-
getChild
Gets the child node that is getting clipped by the given @node.- Returns:
- The child that is getting clipped
-
getClip
Retrieves the clip rectangle for @node.- Returns:
- a clip rectangle
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-