Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []FontID{ GoBold, GoBoldItalic, GoItalic, GoMedium, GoMediumItalic, GoRegular, GoSmallcaps, GoSmallcapsItalic, GoMono, GoMonoBold, GoMonoBoldItalic, GoMonoItalic, }
All is a slice containing all available fonts in the Go font family.
View Source
var ErrInvalidFontID = errors.New("invalid font ID")
ErrInvalidFontID indicates that a FontID is invalid.
Functions ¶
Types ¶
type FontID ¶
type FontID int
FontID identifies individual fonts in the Go font family.
const ( GoBold FontID // gobold GoBoldItalic // gobolditalic GoItalic // goitalic GoMedium // gomedium GoMediumItalic // gomediumitalic GoRegular // goregular GoSmallcaps // gosmallcaps GoSmallcapsItalic // gosmallcapsitalic GoMono // gomono GoMonoBold // gomonobold GoMonoBoldItalic // gomonobolditalic GoMonoItalic // gomonoitalic )
Constants for the available fonts in the Go font family.
Click to show internal directories.
Click to hide internal directories.