Fyne API "fyne.TextStyle"

fyne.TextStyle


import "fyne.io/fyne/v2"

Usage

type TextStyle

type TextStyle struct {
	Bold      bool // Should text be bold
	Italic    bool // Should text be italic
	Monospace bool // Use the system monospace font instead of regular
}

TextStyle represents the styles that can be applied to a text canvas object or text based widget.