textWidthBasis method

NikuText textWidthBasis(
  1. TextWidthBasis textWidthBasis
)

Defines how to measure the width of the rendered text

Equivalent:

Text(textWidthBasis: input)

Implementation

NikuText textWidthBasis(TextWidthBasis textWidthBasis) {
  this._textWidthBasis = textWidthBasis;

  return this;
}