Package ch.bailu.gtk.gsk
Klasse InsetShadowNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.InsetShadowNode
- Alle implementierten Schnittstellen:
PointerInterface
A render node for an inset shadow.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungInsetShadowNode
(RoundedRect outline, RGBA color, float dx, float dy, float spread, float blur_radius) Creates a `GskRenderNode` that will render an inset shadow
into the box given by @outline.InsetShadowNode
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfloat
Retrieves the blur radius to apply to the shadow.static ClassHandler
getColor()
Retrieves the color of the inset shadow.float
getDx()
Retrieves the horizontal offset of the inset shadow.float
getDy()
Retrieves the vertical offset of the inset shadow.static int
Retrieves the outline rectangle of the inset shadow.static long
static TypeSystem.TypeSize
float
Retrieves how much the shadow spreads inwards.static long
static TypeSystem.TypeSize
Von Klasse geerbte Methoden ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, getOpaqueRect, ref, serialize, unref, writeToFile, writeToFile
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
InsetShadowNode
-
InsetShadowNode
public InsetShadowNode(@Nonnull RoundedRect outline, @Nonnull RGBA color, float dx, float dy, float spread, float blur_radius) Creates a `GskRenderNode` that will render an inset shadow
into the box given by @outline.- Parameter:
outline
- outline of the region containing the shadowcolor
- color of the shadowdx
- horizontal offset of shadowdy
- vertical offset of shadowspread
- how far the shadow spreads towards the insideblur_radius
- how much blur to apply to the shadow
-
-
Methodendetails
-
getClassHandler
-
getBlurRadius
public float getBlurRadius()Retrieves the blur radius to apply to the shadow.- Gibt zurück:
- the blur radius, in pixels
-
getColor
Retrieves the color of the inset shadow.
The value returned by this function will not be correct
if the render node was created for a non-sRGB color.- Gibt zurück:
- the color of the shadow
-
getDx
public float getDx()Retrieves the horizontal offset of the inset shadow.- Gibt zurück:
- an offset, in pixels
-
getDy
public float getDy()Retrieves the vertical offset of the inset shadow.- Gibt zurück:
- an offset, in pixels
-
getOutline
Retrieves the outline rectangle of the inset shadow.- Gibt zurück:
- a rounded rectangle
-
getSpread
public float getSpread()Retrieves how much the shadow spreads inwards.- Gibt zurück:
- the size of the shadow, in pixels
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-