public void drawImage(JSImageInstance image, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh) { if (!this.framePrepared) { return; } this.batch.Draw(image.texture, new Rectangle(dx, dy, dw, dh), new Rectangle(sx, sy, sw, sh), Color.White); }
public void drawImage(JSImageInstance image, double dx, double dy) { if (!this.framePrepared) { return; } this.batch.Draw(image.texture, new Vector2((float)dx, (float)dy), Color.White); }
public void drawImage(JSImageInstance image, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh) { if (!this.framePrepared) return; this.batch.Draw(image.texture, new Rectangle(dx, dy, dw, dh), new Rectangle(sx, sy, sw, sh), Color.White); }
public void drawImage(JSImageInstance image, double dx, double dy) { if (!this.framePrepared) return; this.batch.Draw(image.texture, new Vector2((float)dx, (float)dy), Color.White); }