The translate() method is, indeed, the easiest.
For instance,
canvas.save();
canvas.translate(25.0f, 15.0f);
layout.draw(canvas);
canvas.restore();
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Maybe you can try canvas.translate() before draw.
On Feb 4, 2:05 pm, julz jmuens...@gmail.com wrote:
Hi,
I have figured out the static layout this far, but I have no idea how
to make it display my text anywhere else but in the top left corner.
StaticLayout layout =
new StaticLayout(text,
2 matches
Mail list logo