package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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/Conic_gradient_node/index.html
Module Wrappers.Conic_gradient_node
type t = [ `conic_gradient_node | `render_node ] Gobject.objval new_ :
Ocgtk_graphene.Graphene.Wrappers.Rect.t ->
Ocgtk_graphene.Graphene.Wrappers.Point.t ->
float ->
[ `color_stop ] Gobject.obj array ->
Gsize.t ->
tCreate a new ConicGradientNode
val get_rotation : t -> floatRetrieves the rotation for the gradient in degrees.
val get_color_stops : t -> [ `color_stop ] Gobject.obj array * Gsize.tRetrieves the color stops in the gradient.
val get_center : t -> Ocgtk_graphene.Graphene.Wrappers.Point.tRetrieves the center pointer for the gradient.
val get_angle : t -> floatRetrieves the angle for the gradient in radians, normalized in 0, 2 * PI.
The angle is starting at the top and going clockwise, as expressed in the css specification:
angle = 90 - gsk_conic_gradient_node_get_rotation()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>