LinearGradientNode
A render node for a linear gradient.
Skipped during bindings generation
parameter
n_stops
: n_stops: Out parameter is not supportedparameter
color_stops
: ColorStop
Constructors
Functions
Retrieves the number of color stops in the gradient.
Returns the type of the @node.
Gets an opaque rectangle inside the node that GTK can determine to be fully opaque.
Acquires a reference on the given GskRenderNode
.
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.
This function is equivalent to calling method@Gsk.RenderNode.serialize followed by func@GLib.file_set_contents.