File: font.go

package info (click to toggle)
golang-github-andreykaipov-goobs 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,228 kB
  • sloc: makefile: 32
file content (17 lines) | stat: -rw-r--r-- 405 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package typedefs

// Font specifies the font for Text-specific requests.
type Font struct {
	// Font face.
	Face string `json:"face,omitempty"`

	// Font text styling flag. `Bold=1, Italic=2, Bold Italic=3,
	// Underline=5, Strikeout=8`
	Flags int `json:"flags,omitempty"`

	// Font text size.
	Size int `json:"size,omitempty"`

	// Font Style (unknown function).
	Style string `json:"style,omitempty"`
}