public interface PolygonBuilder extends AreaBuilder
Modifier and Type | Method and Description |
---|---|
PolygonBuilder |
add(int x,
int y)
Adds a new edge to the polygon positioned at the given coordinate.
|
PolyArea |
build()
Produces a new polygonal area.
|
PolygonBuilder |
link(Link link)
Sets the link maintained by the area.
|
@NotNull PolygonBuilder add(int x, int y)
x
- The x coordinate of the new edge.y
- The y coordinate of the new edge.@NotNull PolygonBuilder link(@NotNull Link link)
link
in interface AreaBuilder
link
- The link to be used.@NotNull PolyArea build()
build
in interface AreaBuilder
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210