@Override public Canvas drawText(String text, float x, float y) { currentState().prepareFill(gfx); gfx.drawString(text, x, y); isDirty = true; return this; }
@Override protected Graphics2D gc() { currentState().prepareFill(gfx); return gfx; }
@Override public Canvas fillPath(Path path) { currentState().prepareFill(g2d); g2d.fill(((JavaPath) path).path); isDirty = true; return this; }
@Override public Canvas fillPath(Path path) { currentState().prepareFill(gfx); gfx.fill(((JavaPath) path).path); isDirty = true; return this; }
@Override public Canvas drawText(String text, float x, float y) { currentState().prepareFill(gfx); gfx.drawString(text, x, y); isDirty = true; return this; }
@Override public Canvas drawText(String text, float x, float y) { currentState().prepareFill(g2d); g2d.drawString(text, x, y); isDirty = true; return this; }
@Override public Canvas drawText(String text, float x, float y) { currentState().prepareFill(g2d); g2d.drawString(text, x, y); isDirty = true; return this; }
@Override protected Graphics2D gc() { currentState().prepareFill(g2d); return g2d; }
@Override public Canvas fillPath(Path path) { currentState().prepareFill(gfx); gfx.fill(((JavaPath) path).path); isDirty = true; return this; }
@Override public Canvas fillCircle(float x, float y, float radius) { currentState().prepareFill(g2d); ellipse.setFrame(x - radius, y - radius, 2 * radius, 2 * radius); g2d.fill(ellipse); isDirty = true; return this; }
@Override public Canvas fillRoundRect(float x, float y, float width, float height, float radius) { currentState().prepareFill(g2d); roundRect.setRoundRect(x, y, width, height, radius*2, radius*2); g2d.fill(roundRect); isDirty = true; return this; }
@Override public Canvas fillCircle(float x, float y, float radius) { currentState().prepareFill(gfx); ellipse.setFrame(x - radius, y - radius, 2 * radius, 2 * radius); gfx.fill(ellipse); isDirty = true; return this; }
@Override public Canvas fillRoundRect(float x, float y, float width, float height, float radius) { currentState().prepareFill(gfx); roundRect.setRoundRect(x, y, width, height, radius*2, radius*2); gfx.fill(roundRect); isDirty = true; return this; }
@Override public Canvas fillRect(float x, float y, float width, float height) { currentState().prepareFill(gfx); rect.setRect(x, y, width, height); gfx.fill(rect); isDirty = true; return this; }
@Override public Canvas fillCircle(float x, float y, float radius) { currentState().prepareFill(gfx); ellipse.setFrame(x - radius, y - radius, 2 * radius, 2 * radius); gfx.fill(ellipse); isDirty = true; return this; }
@Override public Canvas fillRect(float x, float y, float width, float height) { currentState().prepareFill(g2d); rect.setRect(x, y, width, height); g2d.fill(rect); isDirty = true; return this; }
@Override public Canvas fillText(TextLayout layout, float x, float y) { currentState().prepareFill(gfx); ((JavaTextLayout)layout).fill(gfx, x, y); isDirty = true; return this; }
@Override public Canvas fillText(TextLayout layout, float x, float y) { currentState().prepareFill(g2d); ((JavaTextLayout)layout).fill(g2d, x, y); isDirty = true; return this; }
@Override public Canvas fillText(TextLayout layout, float x, float y) { currentState().prepareFill(g2d); ((JavaTextLayout)layout).fill(g2d, x, y); isDirty = true; return this; }
@Override public Canvas fillText(TextLayout layout, float x, float y) { currentState().prepareFill(gfx); ((JavaTextLayout)layout).fill(gfx, x, y); isDirty = true; return this; }