MCPcopy Index your code
hub / github.com/processing/p5.js / drawX

Function drawX

test/unit/core/rendering.js:129–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127
128 suite('p5.prototype.blendMode', function() {
129 var drawX = function() {
130 myp5.strokeWeight(30);
131 myp5.stroke(80, 150, 255);
132 myp5.line(25, 25, 75, 75);
133 myp5.stroke(255, 50, 50);
134 myp5.line(75, 25, 25, 75);
135 };
136 test('should be a function', function() {
137 assert.ok(myp5.blendMode);
138 assert.typeOf(myp5.blendMode, 'function');

Callers 1

rendering.jsFile · 0.85

Calls 3

lineMethod · 0.80
strokeWeightMethod · 0.45
strokeMethod · 0.45

Tested by

no test coverage detected