moving averages! dashes!

This commit is contained in:
Will Charczuk 2016-07-14 09:27:23 -07:00
parent e4c410621d
commit 96e957daaf
6 changed files with 483 additions and 7 deletions

View file

@ -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)