RadialGradientNode

open class RadialGradientNode(pointer: <Error class: unknown class><<Error class: unknown class>>) : RenderNode

A render node for a radial gradient.

Skipped during bindings generation

  • parameter n_stops: n_stops: Out parameter is not supported

  • parameter color_stops: ColorStop

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gskRadialGradientNodePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getBounds(bounds: <Error class: unknown class>)

Retrieves the boundaries of the @node.

Link copied to clipboard
open fun getCenter(): <Error class: unknown class>

Retrieves the center pointer for the gradient.

Link copied to clipboard
open fun getEnd(): Float

Retrieves the end value for the gradient.

Link copied to clipboard
open fun getHradius(): Float

Retrieves the horizonal radius for the gradient.

Link copied to clipboard
open fun getNColorStops(): <Error class: unknown class>

Retrieves the number of color stops in the gradient.

Link copied to clipboard

Returns the type of the @node.

Link copied to clipboard
open fun getStart(): Float

Retrieves the start value for the gradient.

Link copied to clipboard
open fun getVradius(): Float

Retrieves the vertical radius for the gradient.

Link copied to clipboard
open fun ref(): RenderNode

Acquires a reference on the given GskRenderNode.

Link copied to clipboard
open fun serialize(): <Error class: unknown class>

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.

Link copied to clipboard
open fun unref()

Releases a reference on the given GskRenderNode.

Link copied to clipboard
open fun writeToFile(filename: String): <Error class: unknown class><Boolean>

This function is equivalent to calling method@Gsk.RenderNode.serialize followed by func@GLib.file_set_contents.