danger.text.span
Interface HaloSpan
- All Superinterfaces:
- CharacterSpan
Deprecated. Use StyleSpan instead.
public interface HaloSpan
- extends CharacterSpan
This class indicates to the CharacterSpan text-drawing routine that
it should draw a halo in the text outline color around the text.
This is basically the same visual effect as Font.F_OUTLINE
except that it doesn't affect the font metrics. In addition,
the halo is drawn before the background color (if any) so
it isn't visible when there is a selection. The basic idea
is to make the text more readable against a background image.
NOTE:
This class was a pretty big hack to begin with. Worse, it used
the Hollow font attribute which is not supported by FreeType.
The same effect can now be achieved using a StyleSpan that returns
Font.F_OUTLINE. Use that instead.
|
Nested Class Summary |
static class |
HaloSpan.Standard
Deprecated. Standard implementation of HaloSpan. |