Skip to content

Commit 032c042

Browse files
fixes
1 parent e885452 commit 032c042

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/core/shape/2d_primitives.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,11 @@ p5.prototype.line = function(...args) {
751751
*
752752
* background(200);
753753
*
754+
*
755+
* // Making point to 5 pixels
756+
* strokeWeight(5);
757+
*
758+
*
754759
* // Top-left.
755760
* point(30, 20);
756761
*
@@ -776,7 +781,12 @@ p5.prototype.line = function(...args) {
776781
* createCanvas(100, 100);
777782
*
778783
* background(200);
784+
*
785+
*
786+
* // Making point to 5 pixels.
787+
* strokeWeight(5);
779788
*
789+
*
780790
* // Top-left.
781791
* point(30, 20);
782792
*
@@ -806,6 +816,11 @@ p5.prototype.line = function(...args) {
806816
* createCanvas(100, 100);
807817
*
808818
* background(200);
819+
*
820+
*
821+
* // Making point to 5 pixels.
822+
* strokeWeight(5);
823+
*
809824
*
810825
* // Top-left.
811826
* let a = createVector(30, 20);

0 commit comments

Comments
 (0)