public FontFamily getMaskFontFamily(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.getMaskFontFamily(ROIIndex, shapeIndex); if (result != null) return result; } } return null; }
public FontFamily getMaskFontFamily(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.getMaskFontFamily(ROIIndex, shapeIndex); if (result != null) return result; } } return null; }
FontFamily fontFamily = src.getMaskFontFamily(i, q); dest.setMaskFontFamily(fontFamily, i, q);