props.put(prefix + PointRadiusProperty, Integer.toString(pointRadius)); props.put(prefix + PointOvalProperty, new Boolean(pointOval).toString());
    public Properties getProperties(Properties props) {        if (props == null) {            props = new Properties();        }        String prefix = PropUtils.getScopedPropertyPrefix(this);        if (linePaint instanceof Color) {            props.put(prefix + linePaintProperty,                       Integer.toHexString(((Color)linePaint).getRGB()));        }//      if (textPaint instanceof Color) {//          props.put(prefix + textPaintProperty, //                    Integer.toHexString(((Color)textPaint).getRGB()));//      }        if (fillPaint instanceof Color) {            props.put(prefix + fillPaintProperty,                       Integer.toHexString(((Color)fillPaint).getRGB()));        }        if (selectPaint instanceof Color) {            props.put(prefix + selectPaintProperty,                       Integer.toHexString(((Color)selectPaint).getRGB()));        }        if (mattingPaint instanceof Color) {            props.put(prefix + mattingPaintProperty,                       Integer.toHexString(((Color)mattingPaint).getRGB()));        }        props.put(prefix + fillPatternProperty,                   (fPattern==null?"":fPattern));        Stroke bs = getStroke();        if (bs == null) {            bs = new BasicStroke();        }        if (bs instanceof BasicStroke) {            props.put(prefix + lineWidthProperty, Float.toString(((BasicStroke)bs).getLineWidth()));                        float[] fa = ((BasicStroke)bs).getDashArray();            if (fa != null) {                StringBuffer dp = new StringBuffer();                for (int i = 0; i < fa.length; i++) {                    dp.append(" " + Float.toString(fa[i]));                }                props.put(prefix + dashPatternProperty, dp.toString());                props.put(prefix + dashPhaseProperty, Float.toString(((BasicStroke)bs).getDashPhase()));            } else {                props.put(prefix + dashPatternProperty, "");                props.put(prefix + dashPhaseProperty, "");            }        }        if (baseScale != NONE) {            props.put(prefix + baseScaleProperty, Float.toString(baseScale));        }        props.put(prefix + mattedProperty, new Boolean(matted).toString());                return props;    }