/** * Returns a map of font attributes available in this * <code>Font</code>. Attributes include things like ligatures and * glyph substitution. * @return the attributes map of this <code>Font</code>. */ public Map<TextAttribute,?> getAttributes(){ return new AttributeMap(getAttributeValues()); }
/** * Returns a map of font attributes available in this * {@code Font}. Attributes include things like ligatures and * glyph substitution. * @return the attributes map of this {@code Font}. */ public Map<TextAttribute,?> getAttributes(){ return new AttributeMap(getAttributeValues()); }