pathStringToMobject method

  1. @override
VMobject pathStringToMobject(
  1. String pathString,
  2. SVGElementStyle style, [
  3. Element? element
])
override

Implementation

@override
VMobject pathStringToMobject(String pathString, SVGElementStyle style,
    [Element? element]) {
  var mob = TexSymbol(pathString);

  if (element != null) {
    return applyStyle(style.update(getElementStyle(element)), mob);
  } else {
    return applyStyle(style, mob);
  }
}