package ocaml-canvas

  1. Overview
  2. Docs

Font description

type size = float

Font size

type slant =
  1. | Roman
  2. | Italic
  3. | Oblique

Font slant

type weight = int

Font weight

val thin : weight

Predefined thin weight

val extraLight : weight

Predefined extraLight weight

val light : weight

Predefined light weight

val regular : weight

Predefined regular weight

val medium : weight

Predefined medium weight

val semiBold : weight

Predefined semiBold weight

val bold : weight

Predefined bold weight

val extraBold : weight

Predefined extraBold weight

val black : weight

Predefined black weight

OCaml

Innovation. Community. Security.