public abstract void render (Canvas canvas, float x, float y);
/** Creates an image large enough to accommodate this styled text, and renders it therein. */
public CanvasImage toImage () {
CanvasImage image = graphics().createImage(width(), height());
render(image.canvas(), 0, 0);
return image;
}
/** Creates an image large enough to accommodate this styled text, renders it therein and
* returns an image layer with its translation adjusted per the effect renderer. */