java.lang.Object
io.github.sosuisen.jfxbuilder.graphics.RectangleBuilder

public class RectangleBuilder extends Object
The RectangleBuilder class constructs instances of the Rectangle class and offers a fluent interface for creating and configuring it.

This class includes a static create method that accepts the same arguments as the original Rectangle constructor and returns an instance of the RectangleBuilder.

You can use method chaining to call the builder methods for configuring the Rectangle. Finally, invoke the build method to generate an instance of the Rectangle class.

Note that intermediate builder methods are not evaluated until the build method is called, meaning they are evaluated lazily.

Author:
Hidekazu Kubota <hidekazu.kubota@gmail.com>