improve docstrings of draw2dpdf/gc.go
This commit is contained in:
parent
dbf591ab97
commit
62e23c1693
1 changed files with 2 additions and 2 deletions
|
@ -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...)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue