Class FontTextLayoutAssessor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.text.FontTextLayoutAssessor
-
- All Implemented Interfaces:
TextLayoutAssessor
public class FontTextLayoutAssessor extends Object implements TextLayoutAssessor
Complex text layout check that uses Java 9Font
.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description FontTextLayoutAssessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
available()
boolean
hasComplexLayout(char[] chars)
Determines if a text chunk requires complex text layout.
-
-
-
Method Detail
-
available
public boolean available()
-
hasComplexLayout
public boolean hasComplexLayout(char[] chars)
Description copied from interface:TextLayoutAssessor
Determines if a text chunk requires complex text layout.- Specified by:
hasComplexLayout
in interfaceTextLayoutAssessor
- Parameters:
chars
- the text chunk- Returns:
- whether the text requires complex text layout
-
-