HPadding sets horizontal padding (left and right).
(px int)
| 80 | |
| 81 | // HPadding sets horizontal padding (left and right). |
| 82 | func (b *Box) HPadding(px int) *Box { |
| 83 | b.px = px |
| 84 | return b |
| 85 | } |
| 86 | |
| 87 | // VPadding sets vertical padding (top and bottom). |
| 88 | func (b *Box) VPadding(py int) *Box { |
no outgoing calls