px
, pt
, in
, cm
, mm
, em
, and ex
units%
unitex
unit is an approximation, considering one 1/2 of the em
unitem
unit does not take inot account for the moment the height of the fontswith
and height
attributes are present in the SVG root, they are used to specify the dimensions of the viewportviewBox
attribute is present, it will be used to get the width and height of the viewportpath
element does not currently support the "%" unit.Copyright 2021-2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD-3-Clause License