public interface RectangleBuilder extends AreaBuilder
Modifier and Type | Method and Description |
---|---|
RectangleBuilder |
bounds(int left,
int top,
int right,
int bottom)
Defines the bounds for the rectangle.
|
RectArea |
build()
Produces a new rectangular area.
|
RectangleBuilder |
link(Link link)
Sets the link maintained by the area.
|
@NotNull RectangleBuilder bounds(int left, int top, int right, int bottom)
left
- The x coordinate of the top-left corner.top
- The y coordinate of the top-left corner.right
- The x coordinate of the bottom-right corner.bottom
- The y coordinate of the bottom-right corner.@NotNull RectangleBuilder link(@NotNull Link link)
link
in interface AreaBuilder
link
- The link to be used.@NotNull RectArea build()
build
in interface AreaBuilder
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210