Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []Enum{ Invisible, Thin, ExtraLight, Light, Regular, Medium, SemiBold, Bold, ExtraBold, Black, ExtraBlack, }
All possible values.
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum int32
Enum holds the wegith of a font.
const ( Invisible Enum = iota * 100 Thin ExtraLight Light Regular Medium SemiBold Bold ExtraBold Black ExtraBlack )
Possible values.
func (Enum) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Enum) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Enum) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.