package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.Radial_gradient_node

type t = [ `radial_gradient_node | `render_node ] Gobject.obj
val new_ : Ocgtk_graphene.Graphene.Wrappers.Rect.t -> Ocgtk_graphene.Graphene.Wrappers.Point.t -> float -> float -> float -> float -> [ `color_stop ] Gobject.obj array -> Gsize.t -> t

Create a new RadialGradientNode

val get_vradius : t -> float

Retrieves the vertical radius for the gradient.

val get_start : t -> float

Retrieves the start value for the gradient.

val get_n_color_stops : t -> Gsize.t

Retrieves the number of color stops in the gradient.

val get_hradius : t -> float

Retrieves the horizontal radius for the gradient.

val get_end : t -> float

Retrieves the end value for the gradient.

val get_color_stops : t -> [ `color_stop ] Gobject.obj array * Gsize.t

Retrieves the color stops in the gradient.

Retrieves the center pointer for the gradient.