It derives from <GskRenderNode>.
A render node for a conic gradient.
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 - conic-gradient-node:get-rotation
Passed: a <GskConicGradientNode>.
a <GskRenderNode> for a conic gradient
Returned: a real number.
the angle for the gradient
Retrieves the center pointer for the gradient.
Passed: a <GskConicGradientNode>.
a <GskRenderNode> for a conic gradient
Returned: a <GraphenePoint>.
the center point for the gradient
Retrieves the color stops in the gradient.
Passed: a <GskConicGradientNode>.
a <GskRenderNode> for a conic gradient
Returned: a vector, each a <GskColorStop>.
the color stops in the gradient
Not returned: it is the length of %return.
the number of color stops in the returned array
Retrieves the number of color stops in the gradient.
Passed: a <GskConicGradientNode>.
a <GskRenderNode> for a conic gradient
Returned: an unsigned 64-bit integer.
the number of color stops
Retrieves the rotation for the gradient in degrees.
Passed: a <GskConicGradientNode>.
a <GskRenderNode> for a conic gradient
Returned: a real number.
the rotation for the gradient
Creates a <GskRenderNode> that draws a conic
gradient.
The conic gradient starts around center in the direction of rotation. A rotation of 0 means that the gradient points up. Color stops are then added clockwise.
Passed: a <GrapheneRect>.
the bounds of the node
Passed: a <GraphenePoint>.
the center of the gradient
Passed: a real number.
the rotation of the gradient in degrees
Passed: a list or vector, each a <GskColorStop>.
a pointer to an array of <GskColorStop> defining
the gradient. The offsets of all color stops must be increasing. The
first stop’s offset must be >= 0 and the last stop’s offset must be <=
1.
Returned: a <GskConicGradientNode>.
A new <GskRenderNode>
Not passed: guile-gi gives the length of color-stops.
the number of elements in color-stops