MCPcopy Index your code
hub / github.com/gonum/plot / Close

Method Close

vg/vg.go:148–150  ·  view source on GitHub ↗

Close closes the path by connecting the current location to the start location with a line.

()

Source from the content-addressed store, hash-verified

146// Close closes the path by connecting the current
147// location to the start location with a line.
148func (p *Path) Close() {
149 *p = append(*p, PathComp{Type: CloseComp})
150}
151
152// Constants that tag the type of each path
153// component.

Callers 15

ExampleField_colorsFunction · 0.95
plotVectorizedMethod · 0.95
PlotMethod · 0.95
naivePlotMethod · 0.95
drawVectorFunction · 0.95
ExampleLegend_standaloneFunction · 0.80
SaveMethod · 0.80
ExampleAlignFunction · 0.80
ExampleScatter_colorFunction · 0.80
ExampleField_gophersFunction · 0.80
PlotMethod · 0.80

Calls

no outgoing calls

Tested by 15

ExampleField_colorsFunction · 0.76
ExampleLegend_standaloneFunction · 0.64
ExampleAlignFunction · 0.64
ExampleScatter_colorFunction · 0.64
ExampleField_gophersFunction · 0.64
ExampleImageFunction · 0.64
ExampleImage_logFunction · 0.64
Example_addFontFunction · 0.64
untargzFunction · 0.64
Example_inMemoryCanvasFunction · 0.64
Example_writerToCanvasFunction · 0.64