public void DrawDrawable(SKDrawable drawable, float x, float y) { if (drawable == null) { throw new ArgumentNullException(nameof(drawable)); } var matrix = SKMatrix.CreateTranslation(x, y); DrawDrawable(drawable, ref matrix); }
public void DrawDrawable(SKDrawable drawable, SKPoint p) { if (drawable == null) { throw new ArgumentNullException(nameof(drawable)); } var matrix = SKMatrix.CreateTranslation(p.X, p.Y); DrawDrawable(drawable, ref matrix); }
public void Draw(SKCanvas canvas, float x, float y) { var matrix = SKMatrix.CreateTranslation(x, y); Draw(canvas, ref matrix); }
// DrawPicture public void DrawPicture(SKPicture picture, float x, float y, SKPaint paint = null) { var matrix = SKMatrix.CreateTranslation(x, y); DrawPicture(picture, ref matrix, paint); }