Module LayersSource

Sourcetype layer = {
  1. name : string;
  2. image : Rgba_image.t;
  3. opacity : float;
  4. mode : Blend.mode;
  5. visible : bool;
}
Sourceval make : ?opacity:float -> ?mode:Blend.mode -> string -> Rgba_image.t -> layer
Sourceval transparent : string -> int -> int -> layer
Sourceval flatten : layer list -> Rgba_image.t