package tyxml

  1. Overview
  2. Docs

SVG defines several units to measure time, length, angles.

type 'a quantity = float * 'a option
type angle = [ `Deg | `Grad | `Rad ] quantity
type length = [ `Em | `Ex | `Px | `In | `Cm | `Mm | `Pt | `Pc | `Percent ] quantity
type time = [ `S | `Ms ] quantity
type frequency = [ `Hz | `KHz ] quantity
OCaml

Innovation. Community. Security.