RFR: 8272870: Add convenience factory methods for border and background [v2]

Nir Lisker nlisker at openjdk.java.net
Tue Sep 7 11:31:38 UTC 2021

On Tue, 7 Sep 2021 08:37:31 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

>> Good idea to indicate what happens on `null`, although that might be better in the description?
> I think that should be fine too.
> How should we describe the @param in that case.
> `@param fill Any Paint as BackgroundFill`  -> Does this sound good ?

I disliked the docs of `BackgroundFill` in that regard. If the type of a parameter `t` is `T`, saying in the docs `@param t any T` is useless.


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

More information about the openjfx-dev mailing list