The statements pen.drawLine(50, 50, 100, 200); and pen.drawLine(100, 200, 50, 50); will both draw straight lines that slant down and to the right.
Correct Answer:
Verified
Q1: The drawRoundRect() method requires _ arguments.
A) three
B)
Q2: You can instruct a Graphics object to
Q3: In Java, whether a paint request is
Q4: The _ method draws what appears to
Q5: The _ method in the Graphics class
Q7: The drawPolygon() method requires four arguments, two
Q8: System-triggered painting occurs when a program requests
Q9: A rectangle created with the clearRect() method
Q10: The getScreenSize() method returns an object of
Q11: The FontMetrics class methods return an integer
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents