Class ConicGradientNode

All Implemented Interfaces:
PointerInterface

public class ConicGradientNode extends RenderNode
A render node for a conic gradient.

https://docs.gtk.org/gsk4/class.ConicGradientNode.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler 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()
      Returns:
      the angle for the gradient
    • getCenter

      public Point getCenter()
      Retrieves the center pointer for the gradient.
      Returns:
      the center point for the gradient
    • getNColorStops

      public long getNColorStops()
      Retrieves the number of color stops in the gradient.
      Returns:
      the number of color stops
    • getRotation

      public float getRotation()
      Retrieves the rotation for the gradient in degrees.
      Returns:
      the rotation for the gradient
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()