public void write(int tagID, CGMOutputStream cgm) throws IOException {
   cgm.setEdgeWidthSpecificationMode(mode);
   cgm.writeEnumerate(mode);
 }
 public void write(int tagID, CGMOutputStream cgm) throws IOException {
   cgm.writePoint(new Point2D.Double(rectangle.getMinX(), rectangle.getMinY()));
   cgm.writePoint(new Point2D.Double(rectangle.getMaxX(), rectangle.getMaxY()));
 }
 public void write(int tagID, CGMOutputStream cgm) throws IOException {
   cgm.writeIntegerIndex(index);
 }