public void background(PImage img) { if (_canvas != null) { _canvas.DrawBitmap(img.bmp, new SKRect(0, 0, width, height)); } }
public void image(PImage img, double x1, double y1, double x2, double y2) { _canvas.DrawBitmap(img.bmp, new SKRect((float)x1, (float)y1, (float)x2, (float)y2)); // scaled }
//public PImage createImage(int w, int h, int format) { NotImpl(nameof(PImage)); } #region Image - Loading & Displaying public void image(PImage img, double x, double y) { _canvas.DrawBitmap(img.bmp, (float)x, (float)y); // unscaled }