Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (22 loc) · 494 Bytes

textstyle.md

File metadata and controls

29 lines (22 loc) · 494 Bytes
redirect_to layout tags title
page
api
Fyne API "fyne.TextStyle"

fyne.TextStyle


import "fyne.io/fyne"

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.