22 JavaFX Graphics and Multimedia
Objectives
In this chapter you’ll:
-
Use JavaFX graphics and multimedia capabilities to make your apps “come alive” with graphics, animations, audio and video.
-
Use external Cascading Style Sheets to customize the look of
Node
s while maintaining their functionality. -
Customize fonts attributes such as font family, size and style.
-
Display two-dimensional shape nodes of types
Line
,Rectangle
,Circle
,Ellipse
,Arc
,Path
,Polyline
andPolygon
. -
Customize the stroke and fill of shapes with solid colors, images and gradients.
-
Use
Transform
s to reposition and reorient nodes. -
Display and control video playback with
Media
,MediaPlayer
andMediaView
. -
Animate
Node
properties withTransition
andTimeline
animations. ...
Get Java How to Program, Early Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.