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