package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gsk/Ocgtk_gsk/Gsk/Wrappers/Radial_gradient_node/index.html

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.