COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What command removes the outlines from shapes?
|
noOutline ();
|
|
noColor();
|
|
noBorder();
|
|
noStroke ();
|
Explanation:
Detailed explanation-1: -The noStroke() function is an inbuilt function in p5. js which is used to remove the outline which is used to draw lines and borders around shapes. By default, black color stroke is set to shapes.
Detailed explanation-2: -noStroke() Disables drawing the stroke (outline). If both noStroke() and noFill() are called, nothing will be drawn to the screen.
Detailed explanation-3: -The noStroke() function disables the outline on shapes that are drawn after the function is called. All shapes drawn after the noStroke function is called, will have no outline. noStroke();
There is 1 question to complete.