package graphv_gles2_native

  1. Overview
  2. Docs

Create various fill and stroke effects.

type ctx = t
type t
val linear_gradient : ctx -> sx:float -> sy:float -> ex:float -> ey:float -> icol:Color.t -> ocol:Color.t -> t
val box_gradient : ctx -> x:float -> y:float -> w:float -> h:float -> r:float -> f:float -> icol:Color.t -> ocol:Color.t -> t
val radial_gradient : ctx -> cx:float -> cy:float -> in_radius:float -> out_radius:float -> icol:Color.t -> ocol:Color.t -> t
val image_pattern : ctx -> cx:float -> cy:float -> w:float -> h:float -> angle:float -> image:Image.image -> alpha:float -> t
OCaml

Innovation. Community. Security.