Lines Matching defs:color
252 public void drawCross(PrintWriter out,double x, double y, Colors color){
253 // System.out.println("Cross "+x+" "+y+" "+color);
255 wideLineSVG(out,x-size,y-size,x+size,y+size,color);
256 wideLineSVG(out,x-size,y+size,x+size,y-size,color);
259 double x2,double y2,Colors color) {
262 "\" style=\"stroke:"+color+";stroke-width:5;\"/>");
322 * @param color
324 protected void textSVG(PrintWriter out,double x,int y,int value, Colors color){
325 textSVG(out,x,y,Integer.toString(value), color);
334 * @param color Colors enum to choose the color of the text
336 protected void textSVG(PrintWriter out,double x,int y,String text, Colors color){
338 "\" style=\"stroke:none;fill:"+color+
345 int text, Colors color){
346 textSVG(out,x,y,textSize,Integer.toString(text),color);
349 String text, Colors color){
351 "\" style=\"stroke:none;fill:"+color+
364 * @param color Colors enum to choose the color inside the circle
365 * the border color is defined by the NODE_BORDER_COLOR enum
367 protected void circleSVG(PrintWriter out,double x,double y, double r,Colors color){
370 ";stroke-width:1;fill:"+color+";\"/>");