Exam 16: Graphics

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The repaint() method calls another method named ____, which calls the paint() method.

(Multiple Choice)
4.9/5
(36)

A Polygon object is created by defining movements from one point to another. Describe the statements that are used to create a Polygon object.

(Essay)
5.0/5
(38)

What activities does the process of drawing with Java 2D objects include?

(Essay)
4.9/5
(36)

____ is the amount of space between the bottom of the descent of one line and the top of the characters in the successive line of type.

(Multiple Choice)
4.7/5
(45)

You can instantiate an empty Polygon object using which of the following statements?

(Multiple Choice)
4.8/5
(34)

The Color class contains ____ constants.

(Multiple Choice)
4.9/5
(41)

Write the statement to instruct a Graphics object named myGraphic to apply blue paint.

(Essay)
4.8/5
(33)

You specify 2D colors by using the ____ method.

(Multiple Choice)
5.0/5
(35)

You can designate a Graphics color by calling the drawString() method.

(True/False)
4.7/5
(35)

Dimension(Dimension d) creates an instance of Dimension with a width of 0 and a height of 0.

(True/False)
4.8/5
(37)

Write the statement to create an Arc2D.Float object named myArc at 20, 143, with a width of 50 and a height of 43; with a starting degree of 50, 140 degrees traveled; and using the class variable Arc2D.PIE.

(Essay)
4.8/5
(36)

Write the statement to create a Rectangle2D.Float object named myRect at 20, 20 with a width of 80 and height of 50.

(Essay)
4.7/5
(36)

Match each term with the correct statement below. -Measures the parts of characters that "hang below" the baseline

(Multiple Choice)
4.9/5
(38)

Write the statement to set the font of a Graphics object named myStyle to the font fancyFont.

(Essay)
4.8/5
(29)
Showing 61 - 74 of 74
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)