package ocaml-canvas
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Gradient manipulation functions
createLinear ~pos1 ~pos2
creates a new linear gradient parallel to the line (pos1
, pos2
) in window coordinates
createRadial ~center1 ~rad1 ~center2 ~rad2
creates a new radial gradient between the disks with centers center1
and center2
and radi rad1
and rad2
in window coordinates
createConic ~center ~angle
creates a new conic gradient with center center
and initial angle angle
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>