package biotk

  1. Overview
  2. Docs
module Font : sig ... end
module Layout : sig ... end
val cut : ?col:Gg.Color.t -> Layout.t -> Vg.image

cut ?col ?size font text returns an image displaying text with color col and size size using font font, as well as a bounding box for the text in the image. The actual bounding box is driver-dependent but the result of this function should provide a reasonable appromixation.