AlignHorizontal sets the horizontal alignment for the individual display segments. Defaults to alignment in the center.
(h align.Horizontal)
| 64 | // AlignHorizontal sets the horizontal alignment for the individual display |
| 65 | // segments. Defaults to alignment in the center. |
| 66 | func AlignHorizontal(h align.Horizontal) Option { |
| 67 | return option(func(opts *options) { |
| 68 | opts.hAlign = h |
| 69 | }) |
| 70 | } |
| 71 | |
| 72 | // AlignVertical sets the vertical alignment for the individual display |
| 73 | // segments. Defaults to alignment in the middle |