()
| 31 | ) |
| 32 | |
| 33 | func (ta TextAlign) String() string { |
| 34 | switch ta { |
| 35 | case Left: |
| 36 | return "Left" |
| 37 | case Right: |
| 38 | return "Right" |
| 39 | case Center: |
| 40 | return "Center" |
| 41 | case Middle: |
| 42 | return "Middle" |
| 43 | case Top: |
| 44 | return "Top" |
| 45 | case Bottom: |
| 46 | return "Bottom" |
| 47 | case Justify: |
| 48 | return "Justify" |
| 49 | } |
| 50 | return "Invalid(" + strconv.Itoa(int(ta)) + ")" |
| 51 | } |
| 52 | |
| 53 | // VerticalAlign specifies how the object should align vertically when embedded in text. |
| 54 | type VerticalAlign int |
nothing calls this directly
no outgoing calls
no test coverage detected