package ocaml-canvas

  1. Overview
  2. Docs

Pattern manipulation functions

type t

An abstract type representing a pattern

type repeat =
  1. | NoRepeat
  2. | RepeatX
  3. | RepeatY
  4. | RepeatXY

Pattern repetition

val create : ImageData.t -> repeat -> t

create img rep creates a pattern of rep using img as source

OCaml

Innovation. Community. Security.