background method

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

Equivalent to

TextStyle(background: input)

Implementation

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

  return this;
}