Skip to content

Commit

Permalink
feat: 增加Run Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqiang committed Dec 22, 2024
1 parent f7d29bb commit 7d63b63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apirun.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ func (r *Run) Shade(val, color, fill string) *Run {
return r
}

// Spacing allows to set run spacing
func (r *Run) Spacing(line int) *Run {
r.RunProperties.Spacing = &Spacing{
Line: line,
}
return r
}

// Bold ...
func (r *Run) Bold() *Run {
r.RunProperties.Bold = &Bold{}
Expand Down

0 comments on commit 7d63b63

Please sign in to comment.