TypeScript API Documentation for RSVG-2.0
API Version: 2.0
Library Version: 2.61.3
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Units for the Rsvg.Length struct. These have the same meaning as CSS length units.
If you test for the values of this enum, please note that librsvg may add other units in the future as its support for CSS improves. Please make your code handle unknown units gracefully (e.g. with a default case in a switch() statement).
default
switch()
advance measure of a '0' character (depends on the text orientation)
centimeters
em, or the current font size
x-height of the current font
inches
millimeters
picas, or 1/6 inch (12 points)
percentage values; where 1.0 means 100%.
points, or 1/72 inch
pixels
Units for the Rsvg.Length struct. These have the same meaning as CSS length units.
If you test for the values of this enum, please note that librsvg may add other units in the future as its support for CSS improves. Please make your code handle unknown units gracefully (e.g. with a
defaultcase in aswitch()statement).