All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.math.plot.plotObjects.BaseLine Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
/*
 * Created on 1 juin 2005 by richet
 */
package org.math.plot.plotObjects;

import java.awt.*;

import org.math.plot.render.*;

public class BaseLine extends Line {

	public BaseLine(Color col, double[] c1, double[] c2) {
		super(col, c1, c2);
	}

	public void plot(AbstractDrawer draw) {
		if (!visible)
			return;

		draw.setColor(color);
		draw.drawLineBase(extrem[0], extrem[1]);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy