adding stroke to annotation measure.
This commit is contained in:
parent
045202e3f2
commit
04475f35f8
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ func DrawAnnotation(r Renderer, canvasBox Box, xrange, yrange Range, s Style, lx
|
||||||
//draw the shape...
|
//draw the shape...
|
||||||
r.SetFillColor(s.GetFillColor(DefaultAnnotationFillColor))
|
r.SetFillColor(s.GetFillColor(DefaultAnnotationFillColor))
|
||||||
r.SetStrokeColor(s.GetStrokeColor())
|
r.SetStrokeColor(s.GetStrokeColor())
|
||||||
r.SetStrokeWidth(strokeWidth)
|
r.SetStrokeWidth(s.GetStrokeWidth())
|
||||||
|
|
||||||
r.MoveTo(lx, ly)
|
r.MoveTo(lx, ly)
|
||||||
r.LineTo(ltx, lty)
|
r.LineTo(ltx, lty)
|
||||||
|
|
Loading…
Reference in a new issue