public interface CircleBuilder extends AreaBuilder
Modifier and Type | Method and Description |
---|---|
CircleArea |
build()
Produces a new circle area.
|
CircleBuilder |
center(int x,
int y)
Sets the center coordinates for the circle.
|
CircleBuilder |
link(Link link)
Sets the link maintained by the area.
|
CircleBuilder |
radius(int radius)
Sets the radius for the circle.
|
@NotNull CircleBuilder center(int x, int y)
x
- The x coordinate.y
- The y coordinate.@NotNull CircleBuilder radius(int radius)
radius
- The radius.@NotNull CircleBuilder link(@NotNull Link link)
link
in interface AreaBuilder
link
- The link to be used.@NotNull CircleArea build()
build
in interface AreaBuilder
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210