MCPcopy Index your code
hub / github.com/aterrien/jQuery-Knob / processLineCap

Function processLineCap

excanvas.js:270–280  ·  view source on GitHub ↗
(lineCap)

Source from the content-addressed store, hash-verified

268 }
269
270 function processLineCap(lineCap) {
271 switch (lineCap) {
272 case 'butt':
273 return 'flat';
274 case 'round':
275 return 'round';
276 case 'square':
277 default:
278 return 'square';
279 }
280 }
281
282 /**
283 * This class implements CanvasRenderingContext2D interface as described by

Callers 1

excanvas.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…