package cairo2
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type any = [ `Gradient | `Linear | `Radial | `Solid | `Surface ] t
val add_color_stop_rgb :
[< `Gradient | `Linear | `Radial | `Solid | `Surface Gradient ] t ->
?ofs:float ->
float ->
float ->
float ->
unit
val add_color_stop_rgba :
[< `Gradient | `Linear | `Radial | `Solid | `Surface Gradient ] t ->
?ofs:float ->
float ->
float ->
float ->
float ->
unit
val get_color_stop_count :
[< `Gradient | `Linear | `Radial | `Solid | `Surface Gradient ] t ->
int
val get_color_stop_rgba :
[< `Gradient | `Linear | `Radial | `Solid | `Surface Gradient ] t ->
idx:int ->
float * float * float * float * float
val create_rgb : r:float -> g:float -> b:float -> [ `Solid ] t
val create_rgba : r:float -> g:float -> b:float -> a:float -> [ `Solid ] t
val get_rgba :
[< `Gradient | `Linear | `Radial | `Solid | `Surface Solid ] t ->
float * float * float * float
val create_linear :
x0:float ->
y0:float ->
x1:float ->
y1:float ->
[ `Gradient | `Linear ] t
val get_linear_points :
[< `Gradient | `Linear | `Radial | `Solid | `Surface Gradient Linear ] t ->
float * float * float * float
val create_radial :
x0:float ->
y0:float ->
r0:float ->
x1:float ->
y1:float ->
r1:float ->
[ `Gradient | `Radial ] t
val get_radial_circles :
[< `Gradient | `Linear | `Radial | `Solid | `Surface Gradient Radial ] t ->
float * float * float * float * float * float
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>