| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public static String | Returns: The cleaned string ornull if the input is nullThe string can be null input)Returns a string containing printable characters only. |
| public float | |
| public FSFontMetrics | |
| public int | |
| public int | |
| public void | |
| public void | setSmoothingLevel(int
no-op level)
Deprecated
no-op, will be removed in a future release. Anti-aliasing is now controlled via the smoothing
threshhold.
|
| public void | |
| public void |
| drawString | back to summary |
|---|---|
| public void drawString(OutputDevice outputDevice, String string, float x, float y) | |
| drawString | back to summary |
|---|---|
| public void drawString(OutputDevice outputDevice, String string, float x, float y, JustificationInfo info) | |
| getEffectivePrintableString | back to summary |
|---|---|
| public static String getEffectivePrintableString(String input) Returns a string containing printable characters only.
| |
| getFontScale | back to summary |
|---|---|
| public float getFontScale() | |
| getFSFontMetrics | back to summary |
|---|---|
| public FSFontMetrics getFSFontMetrics(FontContext context, FSFont font, String string) | |
| getSmoothingLevel | back to summary |
|---|---|
| public int getSmoothingLevel() | |
| getWidth | back to summary |
|---|---|
| public int getWidth(FontContext context, FSFont font, String string) Rarely need to use this method directly.
Instead favor | |
| setFontScale | back to summary |
|---|---|
| public void setFontScale(float scale) | |
| setSmoothingLevel | back to summary |
|---|---|
| public void setSmoothingLevel(int level)
Deprecated no-op, will be removed in a future release. Anti-aliasing is now controlled via the smoothing threshhold.
| |
| setSmoothingThreshold | back to summary |
|---|---|
| public void setSmoothingThreshold(float fontsize) Set the smoothing threashold. This is a font size above which all text will be anti-aliased. Text below this size will not be antialiased. Set to -1 for no antialiasing. Set to 0 for all antialising. Else, set to the threshold font size. does not take font scaling into account. | |
| setup | back to summary |
|---|---|
| public void setup(FontContext context) | |