Interface IForgeFont
- All Known Implementing Classes:
- Font
public interface IForgeFont
Extension interface for 
Font.- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiondefault FormattedTextellipsize(FormattedText text, int maxWidth) If the width of the text exceedsmaxWidth, an ellipse is added and the text is substringed.self()
- 
Field Details- 
ELLIPSIS
 
- 
- 
Method Details- 
selfFont self()
- 
ellipsizeIf the width of the text exceedsmaxWidth, an ellipse is added and the text is substringed.- Parameters:
- text- the text to ellipsize if needed
- maxWidth- the maximum width of the text
- Returns:
- the ellipsized text
 
 
-