foreground method

NikuText foreground(
  1. Paint foreground
)
  • forground - The paint drawn as a foreground for the text.

Equivalent to

TextStyle(foreground: input)

Implementation

NikuText foreground(Paint foreground) {
  this._foreground = foreground;

  return this;
}