Chapter 14 Flashcards
Line, Circle, and Rectangle are subclasses of the _______ class
Shape
Assume myCircle is a Circle object. Which of these statements causes my circle to not be filled with a color.
myCircle.setFill(null);
The ________ arc type causes a straight line to be drawn from one endpoint of the arc to the other endpoint
ArcType.CHORD
The __________ arc type causes no lines to connect the endpoints. Only the arc will be drawn
ArcType.OPEN
The _________ arc type causes straight lines to be drawn from each endpoint to the arc’s center point. As a result, the arc will be shaped like a pie slice
ArcType.ROUND
Which Node class Method do you call to rotate a node about its center?
setRotate()
This class creates an animation in which a node moves from one position to another over a period of time
TranslateTransition
You use this class to specify the amount of time that an animation should last.
Duration
This interpolator causes an animation to start slowly, accelerate, then slow down at the end. This is the default interpolator
Interpolator.EASE_BOTH
You use these two class to play an audio file
Media and MediaPlayer
T or F: in a 640 by 480 window, the coordinates of the pixel in the upper-left corner are (0,0).
True
T or F: in a 640 by 480 window, the coordinates of the pixel in the lower-right corner are (640,480).
False
T or F: If an ellipse’s X-radius and Y-radius have the same value, then the ellipse will be a circle.
True
T or F: The Node class’s setEffect method accepts multiple effect object as arguments, allowing you to combine effects.
False
T or F: Any time the user releases a key, a KEY_PRESSED event occurs.
False