Gsk.ConicGradientNode
Description: Reference for Gsk.ConicGradientNode

### Class

# GskConicGradientNode

#### Description [src]

    final class Gsk.ConicGradientNode : GObject.TypeInstance {
      /* No available fields */
    }

A render node for a conic gradient.

#### Ancestors

- GskRenderNode

#### Constructors

###### gsk_conic_gradient_node_new

Creates a `GskRenderNode` that draws a conic gradient.

#### Instance methods

###### gsk_conic_gradient_node_get_angle

Retrieves the angle for the gradient in radians, normalized in [0, 2 * PI].

since: 4.2

###### gsk_conic_gradient_node_get_center

Retrieves the center pointer for the gradient.

###### gsk_conic_gradient_node_get_color_stops

Retrieves the color stops in the gradient.

###### gsk_conic_gradient_node_get_n_color_stops

Retrieves the number of color stops in the gradient.

###### gsk_conic_gradient_node_get_rotation

Retrieves the rotation for the gradient in degrees.

##### Methods inherited from GskRenderNode (7)

###### gsk_render_node_draw

Draw the contents of `node` to the given cairo context.

###### gsk_render_node_get_bounds

Retrieves the boundaries of the `node`.

###### gsk_render_node_get_node_type

Returns the type of the `node`.

###### gsk_render_node_ref

Acquires a reference on the given `GskRenderNode`.

###### gsk_render_node_serialize

Serializes the `node` for later deserialization via gsk_render_node_deserialize(). No guarantees are made about the format used other than that the same version of GTK will be able to deserialize the result of a call to `gsk_render_node_serialize()` and `gsk_render_node_deserialize()` will correctly reject files it cannot open that were created with previous versions of GTK.

###### gsk_render_node_unref

Releases a reference on the given `GskRenderNode`.

###### gsk_render_node_write_to_file

This function is equivalent to calling `gsk_render_node_serialize()` followed by `g_file_set_contents()`.