cmu chpt 1
12 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the range of values for opacity?

  • Between 0 and 255
  • Between 0 and 1
  • Between 0 and 100 (correct)
  • Between 1 and 1000

What is the default gradient type?

  • Radial gradient (correct)
  • Circular gradient
  • Angular gradient
  • Linear gradient

What is the default line width?

  • 10
  • 5
  • 1
  • 2 (correct)

How do you draw a circle?

<p>Circle(centerX, centerY, radius) (B)</p> Signup and view all the answers

What is the range of values for the roundness of a star?

<p>Between 0 and 100 (C)</p> Signup and view all the answers

How do you draw a polygon?

<p>Polygon(x1, y1, x2, y2,..., xn, yn) (A)</p> Signup and view all the answers

What is the default fill color for a rectangle?

<p>black (B)</p> Signup and view all the answers

What is the default border width?

<p>2 (A)</p> Signup and view all the answers

What is the purpose of the dashes argument in drawing a rectangle?

<p>To specify the dash pattern for the border (C)</p> Signup and view all the answers

How do you specify a custom color using RGB values?

<p>rgb(red, green, blue) (A)</p> Signup and view all the answers

What is the coordinate system used on the canvas?

<p>x values increase as you head right, y values increase as you head down (B)</p> Signup and view all the answers

What happens when you draw a shape with a fill set to None?

<p>The shape is not filled (B)</p> Signup and view all the answers

More Like This

Arcs and Arrows in Canvas
18 questions
Intro to Graphic Design on Canva
8 questions
Drawing Rectangles in Canvas Programming
10 questions
Use Quizgecko on...
Browser
Browser