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