I want to change arc width and arc height in Roundborder by coding, how to do it in the following code?
RoundBorder roundBorder = RoundBorder.create().rectangle(true); container.getAllStyles().setBorder(roundBorder);
The round border always draws a full 180 degree arc from the top line to the bottom line. Due to that constraint the width/height cannot be changed as the lines are fixed into place.
The round border always draws a full 180 degree arc from the top line to the bottom line. Due to that constraint the width/height cannot be changed as the lines are fixed into place.