Returns the rounded rectangle arc size, or 0 if the rounded rectangle tool is not enabled.
()
| 1055 | |
| 1056 | /** Returns the rounded rectangle arc size, or 0 if the rounded rectangle tool is not enabled. */ |
| 1057 | public static int getRoundRectArcSize() { |
| 1058 | if (rectType==ROUNDED_RECT_ROI) |
| 1059 | return arcSize; |
| 1060 | else |
| 1061 | return 0; |
| 1062 | } |
| 1063 | |
| 1064 | /** Sets the rounded rectangle corner diameter (pixels). */ |
| 1065 | public static void setRoundRectArcSize(int size) { |