Class BigPoint
java.lang.Object
|
+----java.awt.Point
|
+----BigPoint
- public class BigPoint
- extends Point
This class builds a more visible point.
- Version:
- 1.00 4 Dec 1997
- Author:
- Octavian Cismasu
-
size
-
-
BigPoint(int)
-
Constructs a new BigPoint object
with the specified size.
-
BigPoint(int, int, int)
-
Constructs a new BigPoint object
at given x, y coordinates and with
specified size.
-
drawBigpoint(Graphics)
- Displays this point on the given
graphics context.
-
getBpsize()
- Gets the size value of this big point.
-
getFill()
- Gets the current fill mode of this big point.
-
setFill(boolean)
- Sets the fill mode for a big point.
size
public int size
BigPoint
public BigPoint(int s)
- Constructs a new BigPoint object
with the specified size.
- Parameters:
- s - the size of the point in pixels
BigPoint
public BigPoint(int x,
int y,
int s)
- Constructs a new BigPoint object
at given x, y coordinates and with
specified size.
- Parameters:
- x - the x coordinate
- y - the y coordinate
- s - the size of the point
setFill
public void setFill(boolean val)
- Sets the fill mode for a big point.
A 'true' value fills the point, while
a ' false' value will display an empty point.
- Parameters:
- val - the new fill mode value
getFill
public boolean getFill()
- Gets the current fill mode of this big point.
getBpsize
public int getBpsize()
- Gets the size value of this big point.
drawBigpoint
public void drawBigpoint(Graphics g)
- Displays this point on the given
graphics context.
- Parameters:
- g - the graphics context where this big point is to be displayed