setFg method
Set foreground to a named color.
Implementation
void setFg(Color color) {
fg = color;
fgRgb = null;
fgIndexed = null;
}
Set foreground to a named color.
void setFg(Color color) {
fg = color;
fgRgb = null;
fgIndexed = null;
}