package combine

  1. Overview
  2. Docs
type t = private {
  1. matrix : bool array array;
  2. height : int;
  3. width : int;
}
val create : bool array array -> t
val apply : D4.t -> t -> t
val resize : t -> w:int -> h:int -> t
val crop : t -> x:int -> y:int -> w:int -> h:int -> t
val shift : t -> ofsx:int -> ofsy:int -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val xor : t -> t -> t
val has_iso : D4.t -> t -> bool
val print : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.