MCPcopy Create free account
hub / github.com/tdewolff/canvas / String

Method String

text.go:64–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62)
63
64func (valign VerticalAlign) String() string {
65 switch valign {
66 case Baseline:
67 return "Baseline"
68 case FontTop:
69 return "FontTop"
70 case FontMiddle:
71 return "FontMiddle"
72 case FontBottom:
73 return "FontBottom"
74 }
75 return "Invalid(" + strconv.Itoa(int(valign)) + ")"
76}
77
78// WritingMode specifies how the text lines should be laid out.
79type WritingMode int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected