Exam 14: Java-Fx: Graphics, Effects, and Media

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

Select all that apply. Which of the following are constructors of the Rectangle class?

(Multiple Choice)
4.8/5
(31)

The following statement will draw the string "Welcome!" starting at the top left corner of the screen. Text welcomeText = new Text(0, 0, "Welcome!");

(True/False)
4.7/5
(35)

The __________ class specifies the amount of time an animation should last.

(Multiple Choice)
4.8/5
(39)

To create an animation in which a node fades in or out over a period of time, use the __________ class.

(Multiple Choice)
4.7/5
(37)

Which of the following statements draws the string "Love to animate!" starting at coordinates (200, 50)?

(Multiple Choice)
4.9/5
(40)

The Rotate class creates a rotating animation.

(True/False)
4.9/5
(33)

To combine several effects, use the Effect class's __________ method.

(Multiple Choice)
5.0/5
(38)

Which of the following is a subclass of Node?

(Multiple Choice)
4.9/5
(41)

Given a window that is 640 (width) by 480 (height), which of the following represents the lowest position on the left side?

(Multiple Choice)
4.8/5
(46)

To make a node half its original size, you pass the setScaleX method the value 2 and pass the setScaleY method the value 0.5.

(True/False)
4.9/5
(26)

Which effect class do you use to increase an image's brightness?

(Multiple Choice)
4.9/5
(31)

In a window that is 640px wide by 480px high, the top right X, Y coordinates would be (0, 480).

(True/False)
4.8/5
(36)

Which class creates an animation in which a node rotates?

(Multiple Choice)
4.8/5
(40)

Which of the following import statements must be used in order to use the Color class?

(Multiple Choice)
4.9/5
(32)

Select all that apply. Which of the following are mouse event types?

(Multiple Choice)
4.9/5
(38)

Which of the following code snippets creates a Line and uses a RotateTransition object to animate it for seven seconds?

(Multiple Choice)
5.0/5
(25)

Which mouse event occurs when the user presses and releases the mouse button?

(Multiple Choice)
4.9/5
(37)

What does the following code snippet do? Circle myCircle = new Circle(50, 50, 25); TranslateTransition rtrans = New TranslateTransition(new Duration(5000), myCircle);

(Multiple Choice)
4.9/5
(37)

The __________ class is used to move a node from one position on the screen to another.

(Multiple Choice)
4.9/5
(34)

The FillTransition class works only with objects of the Shape class or one of its subclasses.

(True/False)
4.8/5
(38)
Showing 21 - 40 of 40
close modal

Filters

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