package typo;

import java.awt.Graphics;

public class Space extends Box {

	double width;
	double stretch;

	public Space(double width, double stretch) {
		this.width = width;
		this.stretch = stretch;
	}

	public void doDraw(Graphics g, double x, double y, double w) {
		// rien à faire
	}

	public double getAscent() {
		return 0;
	}

	public double getDescent() {
		return 0;
	}

	public double getMinimalWidth() {
		return width;
	}

	public double getStretchingCapacity() {
		return stretch;
	}

	public String toString() {
		return "Space" + super.toString();
	}

}

