Documentation ¶ Overview ¶ Package fontstyle contains all default font styles. Index ¶ type Type func (s Type) IsValid() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Type ¶ type Type string Type is a representation of a style DefaultFont. const ( // Normal represents a normal style. Normal Type = "" // Bold represents a bold style. Bold Type = "B" // Italic represents an italic style. Italic Type = "I" // BoldItalic represents a bold and italic style. BoldItalic Type = "BI" ) func (Type) IsValid ¶ func (s Type) IsValid() bool IsValid checks if the style is valid. Source Files ¶ View all Source files fontstyle.go Click to show internal directories. Click to hide internal directories.