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

com.scudata.cellset.graph.draw.ValuePoint Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20240823
Show newest version
package com.scudata.cellset.graph.draw;

import java.awt.*;
import java.awt.geom.Point2D;

import com.scudata.chart.Consts;

/**
 * ??װ????״????ɫ?????Ե????ݵ?
 * ???????ı???ǩ?????ݵ?????һ??Ƚ?С??Ҳ??Ҫ?ں???ͳһ????
 * ??ֹ??????
 * @author Joancy
 *
 */
public class ValuePoint {
	public Point2D.Double p;
	public Color borderColor,fillColor=null;
	public int shape = Consts.PT_CIRCLE;
	public int radius = -1;
	/**
	 * ????һ?????ݵ?
	 * @param p ????
	 * @param bc ?߿???ɫ
	 */
	public ValuePoint(Point2D.Double p, Color bc) {
		this.p = p;
		this.borderColor = bc;
	}

	/**
	 * ????һ?????ݵ?
	 * @param p ????
	 * @param bc ?߿???ɫ
	 * @param fillColor ?????ɫ
	 * @param shape ?????״
	 * @param radius ??İ뾶
	 */
	public ValuePoint(Point2D.Double p, Color bc,Color fillColor, int shape, int radius) {
		this(p, bc);
		this.fillColor = fillColor;
		this.shape = shape;
		this.radius = radius;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy