toVgTheme method

SvgTheme toVgTheme()

Creates a vg.SvgTheme from this.

Implementation

vg.SvgTheme toVgTheme() {
  return vg.SvgTheme(
    currentColor: vg.Color(currentColor.value),
    fontSize: fontSize,
    xHeight: xHeight,
  );
}