RubyTextElement

How to write by SpWML

(ruby, rubyText:The ruby-text)Normal text

Summary

A block that does not have a child block and can contain ruby text.

It has a variable with parameters equivalent to Flutter Text class , and ruby-text controlling parameters.


Dart Class Reference

TableElement class


SpWML Parameters

  • The common parameters.

  • Parent parameters.

  • rubyFontName(String). This is the name of the font to be used. To change the font, settings must be made on the Flutter project side. Only the fonts set in the project can be loaded.

  • rubySize(double). Specifies the font size as a magnification of the standard text.Use a value between 0.0 and 1.0.

  • rubyFontWeight(String). Font weight.Specify one of normal, regular, bold, thin, light, medium, black, w100 to w900.

  • rubyFontStyle(String). Specifies the font style.Specify either normal or italic.

  • rubyColor(String). Color setting. The color system .

  • rubyBGColor(String). Text background Color setting. The color system .

  • rubyDeco(String). Specify decoration such as underline.Specify one of none, underline, overline, lineThrough.

  • rubyDecoStyle(String).Decoration style.It can be solid, dotted, dashed, double or wavy.

  • rubyDecoColor(String)Color setting. The color system .

  • rubyDecoThickness(double). Specifies the line width of the decoration in px.

  • rubyLetterSpacing(double). Specifies the space between characters in px.

  • rubyWordSpacing(double). Specifies the space between words in px.

  • rubyAlign(String). Text alignment.Left, center, right, or justify.

  • rubyHeight(double). Specifies the text height. For English, 1.0 is fine, but for Japanese or other hieroglyph type text, it may be better to adjust between 1.0 and 1.3.