moving averages! dashes!
This commit is contained in:
parent
e4c410621d
commit
96e957daaf
6 changed files with 483 additions and 7 deletions
1
style.go
1
style.go
|
|
@ -120,6 +120,7 @@ func (s Style) GetPadding(defaults ...Box) Box {
|
|||
func (s Style) WithDefaultsFrom(defaults Style) (final Style) {
|
||||
final.StrokeColor = s.GetStrokeColor(defaults.StrokeColor)
|
||||
final.StrokeWidth = s.GetStrokeWidth(defaults.StrokeWidth)
|
||||
final.StrokeDashArray = s.GetStrokeDashArray(defaults.StrokeDashArray)
|
||||
final.FillColor = s.GetFillColor(defaults.FillColor)
|
||||
final.FontColor = s.GetFontColor(defaults.FontColor)
|
||||
final.Font = s.GetFont(defaults.Font)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue