Interface CircleBuilder
- All Superinterfaces:
AreaBuilder
Definition of a builder for circular areas.
- Since:
- 5.2.2103
-
Method Summary
Modifier and TypeMethodDescription@NotNull CircleAreabuild()Produces a new circle area.@NotNull CircleBuildercenter(int x, int y) Sets the center coordinates for the circle.@NotNull CircleBuilderSets the link maintained by the area.@NotNull CircleBuilderradius(int radius) Sets the radius for the circle.
-
Method Details
-
center
Sets the center coordinates for the circle.- Parameters:
x- The x coordinate.y- The y coordinate.- Returns:
- This builder.
- Since:
- 5.2.2103
-
radius
Sets the radius for the circle.- Parameters:
radius- The radius.- Returns:
- This builder.
- Since:
- 5.2.2103
-
link
Sets the link maintained by the area.- Specified by:
linkin interfaceAreaBuilder- Parameters:
link- The link to be used.- Returns:
- This builder.
- Since:
- 5.2.2103
-
build
Produces a new circle area.- Specified by:
buildin interfaceAreaBuilder- Returns:
- A new circle area.
- Since:
- 5.2.2103
-