(alignment Alignment1D)
| 75 | } |
| 76 | |
| 77 | func (l *Label) SetTextAlignment(alignment Alignment1D) error { |
| 78 | if alignment == AlignDefault { |
| 79 | alignment = AlignNear |
| 80 | } |
| 81 | |
| 82 | return l.setTextAlignment1D(alignment) |
| 83 | } |
| 84 | |
| 85 | func (l *Label) Text() string { |
| 86 | return l.text() |
no test coverage detected