예제 #1
0
 public Task <byte[]> GetCurrentImageAsJPG(int width, int height, float scale, List <Stroke> strokes, Scaling scaling = Scaling.Relative_None, int quality = 80, Abstractions.Color BackgroundColor = null, bool useDevicePixelDensity = false, byte[] BackgroundImage = null)
 {
     return(nativePainter.GetCurrentImageAsJPG(width, height, scale, strokes, scaling, quality, BackgroundColor, useDevicePixelDensity, BackgroundImage));
 }
예제 #2
0
 public async Task <byte[]> GetCurrentImageAsJPG(int width, int height, float scale, Abstractions.Scaling scaling = Abstractions.Scaling.Relative_None, int quality = 80, Painter.Abstractions.Color BackgroundColor = null)
 {
     return(await export.GetCurrentImageAsJPG(width, height, scale, Strokes, scaling, quality, BackgroundColor));
 }