Skip to content

Commit a751efd

Browse files
l0g1nguoqiang
andauthored
feat: 增加SizeCs (#46)
Co-authored-by: guoqiang <[email protected]>
1 parent a9fdcc5 commit a751efd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apirun.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ func (r *Run) Size(size string) *Run {
3636
return r
3737
}
3838

39+
// SizeCs allows to set run sizecs
40+
func (r *Run) SizeCs(size string) *Run {
41+
r.RunProperties.SizeCs = &SizeCs{
42+
Val: size,
43+
}
44+
return r
45+
}
46+
3947
// Shade allows to set run shade
4048
func (r *Run) Shade(val, color, fill string) *Run {
4149
r.RunProperties.Shade = &Shade{

0 commit comments

Comments
 (0)