MCPcopy Index your code
hub / github.com/box-cli-maker/box-cli-maker / HPadding

Method HPadding

box.go:82–85  ·  view source on GitHub ↗

HPadding sets horizontal padding (left and right).

(px int)

Source from the content-addressed store, hash-verified

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

Callers 1

TestHPaddingAndVPaddingFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestHPaddingAndVPaddingFunction · 0.64