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
(69)

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
(84)

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

(Multiple Choice)
4.8/5
(87)

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

(Multiple Choice)
4.8/5
(80)

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

(Multiple Choice)
4.9/5
(81)

The Rotate class creates a rotating animation.

(True/False)
4.9/5
(73)

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

(Multiple Choice)
4.9/5
(79)

Which of the following is a subclass of Node?

(Multiple Choice)
4.9/5
(78)

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.9/5
(91)

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)
5.0/5
(60)

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

(Multiple Choice)
4.9/5
(80)

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
(77)

Which class creates an animation in which a node rotates?

(Multiple Choice)
4.8/5
(76)

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

(Multiple Choice)
4.9/5
(77)

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

(Multiple Choice)
4.9/5
(79)

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
(64)

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

(Multiple Choice)
4.9/5
(84)

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
(72)

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

(Multiple Choice)
4.9/5
(79)

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

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

Filters

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