JavaFX supports CSS-like stylesheets (properties prefixed -fx-) so visual styling stays separate from layout/application logic — same idea as web CSS.
Circle, Rectangle, Ellipse, LineDefined by a list of x,y coordinate pairs — Polyline is open, Polygon auto-closes back to the start.
Built from path elements (MoveTo, LineTo, ArcTo) for complex/curved outlines.
Media — the media file/sourceMediaPlayer — controls playback (play, pause, volume)MediaView — the visual Node that displays itDefines KeyFrames at specific times, animating any property value in between — flexible, multi-step animation.
Calls its handle(now) method every frame (~60 fps) — used for game loops needing per-frame control.
A Canvas is an immediate-mode drawing surface (like painting pixels) — great for custom graphics, charts, or games — versus individual Shape nodes which remain live objects in the scene graph.
3D shapes (Box, Sphere, Cylinder) plus a PerspectiveCamera enable simple 3D scenes.