public class SpecialSymbol extends Object
When you construct a
Phrase with Phrase.getInstance using a
String can contain special Symbols. These are characters with an int value between 913 and 937 (except 930) and between 945 and 969. With this class the value of the corresponding character of the Font Symbol, can be retrieved.
|Constructor and Description|
|Modifier and Type||Method and Description|
Gets a chunk with a symbol character.
Looks for the corresponding symbol in the font Symbol.
Returns the first occurrence of a special symbol in a
public static int index(String string)
c- a character that has to be changed into a symbol
font- Font if there is no SYMBOL character corresponding with c
public static char getCorrespondingSymbol(char c)
c- the original ASCII-char
Copyright © 1998–2019. All rights reserved.