(alignment Alignment2D)
| 49 | } |
| 50 | |
| 51 | func (tl *TextLabel) SetTextAlignment(alignment Alignment2D) error { |
| 52 | if alignment == AlignHVDefault { |
| 53 | alignment = AlignHNearVNear |
| 54 | } |
| 55 | |
| 56 | return tl.setTextAlignment(alignment) |
| 57 | } |
| 58 | |
| 59 | func (tl *TextLabel) Text() string { |
| 60 | return tl.text() |
nothing calls this directly
no test coverage detected