class RVG · Factories
RvgTextSize
The size of a text in a style, from text.measure: its width and how far its font box reaches
above and below the anchor.
Properties
ascent
ascent: numberHow far the font box reaches above the anchor (positive: up), for the dominant baseline of the style.
descent
descent: numberHow far the font box reaches below the anchor (positive: down), for the dominant baseline of the style.
width
width: numberThe advance width of the text, letter-spacing included.
