How can I draw a character or a sequence of characters only partially (e.g. only the upper half)?
The method drawString() of the java.awt.Graphics class only allows you to draw the characters entirety, but I want to show only the lower half for example.
Set the Graphics objects clip.
The code below produces this screenshot: