com.scudata.cellset.graph.draw.ValuePoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
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