Package ch.bailu.gtk.gsk
Klasse ConicGradientNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.ConicGradientNode
- Alle implementierten Schnittstellen:
PointerInterface
A render node for a conic gradient.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc -
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfloatgetAngle()Retrieves the angle for the gradient in radians, normalized in [0, 2 * PI].Retrieves the center pointer for the gradient.static ClassHandlerstatic intlongRetrieves the number of color stops in the gradient.static longstatic TypeSystem.TypeSizefloatRetrieves the rotation for the gradient in degrees.static longstatic TypeSystem.TypeSizeVon Klasse geerbte Methoden ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, getOpaqueRect, ref, serialize, unref, writeToFile, writeToFileVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
ConicGradientNode
-
-
Methodendetails
-
getClassHandler
-
getAngle
public float getAngle()Retrieves the angle for the gradient in radians, normalized in [0, 2 * PI].
The angle is starting at the top and going clockwise, as expressed
in the css specification:
angle = 90 - gsk_conic_gradient_node_get_rotation()- Gibt zurück:
- the angle for the gradient
-
getCenter
Retrieves the center pointer for the gradient.- Gibt zurück:
- the center point for the gradient
-
getNColorStops
public long getNColorStops()Retrieves the number of color stops in the gradient.- Gibt zurück:
- the number of color stops
-
getRotation
public float getRotation()Retrieves the rotation for the gradient in degrees.- Gibt zurück:
- the rotation for the gradient
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-