-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathformatting.go
More file actions
25 lines (23 loc) · 791 Bytes
/
formatting.go
File metadata and controls
25 lines (23 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package menuet
// FontWeight represents the weight of the font
type FontWeight float64
const (
// WeightUltraLight is equivalent to NSFontWeightUltraLight
WeightUltraLight FontWeight = -0.8
// WeightThin is equivalent to NSFontWeightThin
WeightThin = -0.6
// WeightLight is equivalent to NSFontWeightLight
WeightLight = -0.4
// WeightRegular is equivalent to NSFontWeightRegular, and is the default
WeightRegular = 0
// WeightMedium is equivalent to NSFontWeightMedium
WeightMedium = 0.23
// WeightSemibold is equivalent to NSFontWeightSemibold
WeightSemibold = 0.3
// WeightBold is equivalent to NSFontWeightBold
WeightBold = 0.4
// WeightHeavy is equivalent to NSFontWeightHeavy
WeightHeavy = 0.56
// WeightBlack is equivalent to NSFontWeightBlack
WeightBlack = 0.62
)