(alignment Alignment1D)
| 71 | } |
| 72 | |
| 73 | func (nl *NumberLabel) SetTextAlignment(alignment Alignment1D) error { |
| 74 | if alignment == AlignDefault { |
| 75 | alignment = AlignFar |
| 76 | } |
| 77 | |
| 78 | return nl.setTextAlignment1D(alignment) |
| 79 | } |
| 80 | |
| 81 | func (nl *NumberLabel) Decimals() int { |
| 82 | return nl.decimals |
no test coverage detected