Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Svg_types.Unit

module Unit : sig..end

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


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