On Thu, 16 Sep 2021 08:36:49 GMT, Marius Hanl <mh...@openjdk.org> wrote:

> One comment from my side: I would find it quite useful if we have another 
> border factory method with a double as the second parameter which let us 
> specify the border width. So e.g.
> 
> ```
> public static Border stroke(Paint stroke, double width) {
>     return new Border(new BorderStroke(stroke, BorderStrokeStyle.SOLID, null, 
> new BorderWidths(width)));
> }
> ```
> 
> But I really want to hear other opinions. This can also be a follow up. :)

I don't mind adding this variant, but it needs consensus.

-------------

PR: https://git.openjdk.java.net/jfx/pull/610

Reply via email to