package wall

  1. Overview
  2. Docs
type 'texture t = 'texture Wall_types.paint = {
  1. xform : Transform.t;
  2. extent : Gg.size2;
  3. radius : float;
  4. feather : float;
  5. inner : Wall_types.color;
  6. outer : Wall_types.color;
  7. texture : 'texture option;
}
val linear_gradient : sx:float -> sy:float -> ex:float -> ey:float -> inner:Wall_types.color -> outer:Wall_types.color -> _ t
val radial_gradient : cx:float -> cy:float -> inr:float -> outr:float -> inner:Wall_types.color -> outer:Wall_types.color -> _ t
val box_gradient : x:float -> y:float -> w:float -> h:float -> r:float -> f:float -> inner:Wall_types.color -> outer:Wall_types.color -> _ t
val image_pattern : Gg.p2 -> Gg.size2 -> angle:float -> alpha:float -> 'image -> 'image t
val color : Wall_types.color -> _ t
val rgba : float -> float -> float -> float -> _ t
val rgbai : int -> int -> int -> int -> _ t
val white : _ t
val black : _ t
val transform : 'a t -> Transform.t -> 'a t
OCaml

Innovation. Community. Security.