How to set arc width and arc height in Roundborder

105 views Asked by At

arc width 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);
1

There are 1 answers

2
Shai Almog On

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.