Back to course

Drawing Shapes

JavaFX 0 to Hero

Drawing Shapes

JavaFX has built-in support for 2D shapes: Rectangle, Circle, Line, Polygon. You can modify their fill and stroke properties.