removing hard default on draw annotation.

This commit is contained in:
Will Charczuk 2016-07-18 11:47:23 -07:00
parent 8edf6a5e8a
commit 01992b9afb

View File

@ -173,7 +173,7 @@ func MeasureAnnotation(r Renderer, canvasBox Box, s Style, lx, ly int, label str
// DrawAnnotation draws an anotation with a renderer. // DrawAnnotation draws an anotation with a renderer.
func DrawAnnotation(r Renderer, canvasBox Box, style Style, lx, ly int, label string) { func DrawAnnotation(r Renderer, canvasBox Box, style Style, lx, ly int, label string) {
r.SetFillColor(style.GetFillColor(DefaultAnnotationFillColor)) r.SetFillColor(style.GetFillColor())
r.SetStrokeColor(style.GetStrokeColor()) r.SetStrokeColor(style.GetStrokeColor())
r.SetStrokeWidth(style.GetStrokeWidth()) r.SetStrokeWidth(style.GetStrokeWidth())
r.SetStrokeDashArray(style.GetStrokeDashArray()) r.SetStrokeDashArray(style.GetStrokeDashArray())