/**
* Set the character that is to be used by the pen.
*
* @ch pen character.
*/
public void setPen(char ch) {
pen = ch;
}
/**
* Set the current range for the x coordinates.
*
* @lowerLimit lower limit of the interval (inclusive).
* @upperLimit upper limit of the interval (exclusive).
*/
public void setRangeX(double lowerLimit, double upperLimit) {
x0 = lowerLimit;
x1 = upperLimit;
}
/**
* Set the current range for the x coordinates.
*
* @lowerLimit lower limit of the interval (inclusive).
* @upperLimit upper limit of the interval (exclusive).
*/
public void setRangeY(double lowerLimit, double upperLimit) {
y0 = lowerLimit;
y1 = upperLimit;
}
|