I'm interest on developping apps in S40. And I plan to develop simple game on S40 devices.
I wan't to draw some line in GameCanvas by overriding paint(Graphics g) method. The code seem like follow:
public void paint(Graphics g) {
g.setColor(255, 0, 0);
g.drawLine(0, 0, getWidth(), getHeight());
}
I write the code for drawing diagonal line along the screen. But the line seems too thin. Is it possible to make it thicker. Somebody help me for this problem.
Thanks.

Reply With Quote

