Type Text

type Text struct {
	Value     string
	Bounds    Rect
	Style     TextStyle
	CellWidth float32
	RunFirst  int32
	RunCount  int32
	Layer     uint16
	ClipOf    Rect
	HasClip   bool
}

Text is one immutable single-line label clipped like rectangles. A text with RunCount > 0 is a fixed-pitch grid line (see LabelRuns); read its runs with Canvas.TextRuns.