public Color getLineStrokeColor(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.getLineStrokeColor(ROIIndex, shapeIndex); if (result != null) return result; } } return null; }
public Color getLineStrokeColor(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.getLineStrokeColor(ROIIndex, shapeIndex); if (result != null) return result; } } return null; }
Color strokeColor = src.getLineStrokeColor(i, q); dest.setLineStrokeColor(strokeColor, i, q);