public Color getEllipseStrokeColor(int ROIIndex, int shapeIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; Color result = retrieve.getEllipseStrokeColor(ROIIndex, shapeIndex); if (result != null) return result; } } return null; }
public Color getEllipseStrokeColor(int ROIIndex, int shapeIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; Color result = retrieve.getEllipseStrokeColor(ROIIndex, shapeIndex); if (result != null) return result; } } return null; }
Color strokeColor = src.getEllipseStrokeColor(i, q); dest.setEllipseStrokeColor(strokeColor, i, q);