From 62e23c1693322486f8e8187af881fe917e26d814 Mon Sep 17 00:00:00 2001 From: Stani Date: Wed, 8 Jul 2015 00:48:15 +0200 Subject: [PATCH] improve docstrings of draw2dpdf/gc.go --- draw2dpdf/gc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/draw2dpdf/gc.go b/draw2dpdf/gc.go index 0461c3c..f7f5cd0 100644 --- a/draw2dpdf/gc.go +++ b/draw2dpdf/gc.go @@ -168,12 +168,12 @@ func (gc *GraphicContext) StrokeStringAt(text string, x, y float64) (cursor floa return gc.CreateStringPath(text, x, y) } -// Stroke strokes the paths +// Stroke strokes the paths with the color specified by SetStrokeColor func (gc *GraphicContext) Stroke(paths ...*draw2d.PathStorage) { gc.draw("D", paths...) } -// Fill strokes the paths +// Fill fills the paths with the color specified by SetFillColor func (gc *GraphicContext) Fill(paths ...*draw2d.PathStorage) { gc.draw("F", paths...) }