Center aligned text with drawString

Hi guys,

Sorry if this question is a piece of cake but after checking the docs and the forum couldn’t find any answer.

Is there anyway to use whateverFont.drawString to draw center-aligned text?

I need to write both single-line and multi-line texts and I can’t find the solution. Specially for multi-line texts.

Thanks in advance.

1 Like