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