/// <summary> /// Creates a pattern from an image to be used by the fillStyle or strokeStyle attributes /// </summary> /// <param name="img">Dom Img object</param> /// <param name="repeat">repeat, repeat-x, repeat-y, no-repeat</param> /// <returns></returns> public abstract CanvasPattern CreatePattern(Img img, CanvasRepeat repeat);
public abstract void DrawImage(Img image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
public abstract void DrawImage(Img image, double dx, double dy);