Text
        Inherits: Shape
Draws value with style at
the given (x, y) point.
Properties
- 
          alignment(Alignment) –A point within a text rectangle to determine its position and rotation center. 
- 
          ellipsis(str | None) –String used to ellipsize overflowing text. 
- 
          max_lines(int | None) –The maximum number of lines painted. Lines beyond this number are silently 
- 
          max_width(Number | None) –The maximum width of the painted text. 
- 
          rotate(Number) –The rotation of this text in radians. Text is rotated around the point determined by 
- 
          spans(list[TextSpan] | None) –The list of TextSpan
- 
          style(TextStyle | None) –A text style to draw textandspanswith.
- 
          text_align(TextAlign) –Text horizontal align. 
- 
          value(str | None) –The text to draw. 
- 
          x(Number) –The x-axis coordinate of the text's alignmentpoint.
- 
          y(Number) –The y-axis coordinate of the text's alignmentpoint.
Properties#
class-attribute
      instance-attribute
  
#
    A point within a text rectangle to determine its position and rotation center.
class-attribute
      instance-attribute
  
#
ellipsis: str | None = None
String used to ellipsize overflowing text.
class-attribute
      instance-attribute
  
#
max_lines: int | None = None
The maximum number of lines painted. Lines beyond this number are silently
dropped. For example, if max_lines = 1, then only one line is rendered.
If max_lines = None, but ellipsis != None, then lines after the first one
that overflows the width constraints are dropped.
class-attribute
      instance-attribute
  
#
max_width: Number | None = None
The maximum width of the painted text.
Defaults to None - infinity.
class-attribute
      instance-attribute
  
#
rotate: Number = 0
The rotation of this text in radians. Text is rotated around the point determined by
alignment.
class-attribute
      instance-attribute
  
#
    The list of TextSpan
objects to build a rich text paragraph.
class-attribute
      instance-attribute
  
#
style: TextStyle | None = None
A text style to draw text and spans with.
class-attribute
      instance-attribute
  
#
    Text horizontal align.