getUiPath method

Path getUiPath(
  1. int glyphId
)

Implementation

ui.Path getUiPath(int glyphId) {
  var glyphPath = _glyphPaths[glyphId];
  if (glyphPath != null) {
    return glyphPath;
  }
  var path = ui.Path();
  var rawPath = getPath(glyphId);
  rawPath.issueCommands(path);
  rawPath.dispose();
  _glyphPaths[glyphId] = path;
  return path;
}