MCPcopy Create free account
hub / github.com/breck7/scroll / streamPolygon

Function streamPolygon

external/.d3.js:9902–9907  ·  view source on GitHub ↗
(coordinates, stream)

Source from the content-addressed store, hash-verified

9900}
9901
9902function streamPolygon(coordinates, stream) {
9903 var i = -1, n = coordinates.length;
9904 stream.polygonStart();
9905 while (++i < n) streamLine(coordinates[i], stream, 1);
9906 stream.polygonEnd();
9907}
9908
9909function geoStream(object, stream) {
9910 if (object && streamObjectType.hasOwnProperty(object.type)) {

Callers 1

.d3.jsFile · 0.85

Calls 3

streamLineFunction · 0.85
polygonStartMethod · 0.80
polygonEndMethod · 0.80

Tested by

no test coverage detected