Class FxMapFont
public class FxMapFont
{
// Constructors
public FxMapFont(String s, Font f);
// Methods
public FxMapFontMappingSection getMappingSection();
public int getNumMappingSections();
public boolean isComplete();
}
This class ensures that a string can be drawn with a given font. If the string can't be drawn with the chosen font, other fonts are suggested for defined substrings.
public FxMapFont(String s, Font f);
Takes a string and base font and prepares the font mapping.
Parameter | Description |
s
| The string to map.
|
f
| The base font that the string is mapped with.
|
public FxMapFontMappingSection getMappingSection();
Acquires a FxMapFontMappingSection run. This is a defined substring of the FxMapFont buffer where font mapping operations are performed.
Return Value:
Returns an FxMapFontMappingSection object.
Remarks:
Currently returns null.
See Also: com.ms.fx.MapFontMappingSection
public int getNumMappingSections();
Determines how many maps are required.
Return Value:
Returns the number of mapping sections that are required to map the text buffer.
public boolean isComplete();
Determines if the string may be drawn with the given font.
Return Value:
Returns false.
Remarks:
Currently, this method is not implemented.