Java Utililty Methods Draw Point

List of utility methods to do Draw Point

Description

The list of methods to do Draw Point are organized into topic(s).

Method

voiddrawPoint(final java.awt.Graphics g, final int x, final int y)
draw Point
g.setColor(Color.white);
g.drawLine(x - 4, y + 2, x + 8, y + 2);
g.drawLine(x + 2, y - 4, x + 2, y + 8);
g.setColor(Color.yellow);
g.fillRect(x + 1, y + 1, 3, 3);
g.setColor(Color.black);
g.drawRect(x, y, 4, 4);
voiddrawPoint(Graphics g, int x, int y)
Draws the point (x, y) in the current color.
g.drawLine(x, y, x, y);