예제 #1
0
 /// <inheritdoc/>
 public Task WriteAsync(SvgFile svgFile, string?outputFolder, CancellationToken cancellationToken)
 {
     return(File.WriteAllTextAsync(svgFile.GetPath(outputFolder), string.Format(SvgFile, SvgFont.DefaultSize, svgFile.PathData), Encoding.UTF8, cancellationToken));
 }
예제 #2
0
 /// <inheritdoc/>
 public async Task WriteAsync(SvgFile svgFile, string?outputFolder, CancellationToken cancellationToken)
 {
     await TextWriter.WriteLineAsync(string.Format(Glyph, svgFile.GlyphName, svgFile.Unicode, svgFile.PathData));
 }