On Fri, 3 Sep 2021 21:06:38 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/javafx/scene/layout/Background.java 
>> line 361:
>> 
>>> 359:      *
>>> 360:      * @implSpec This call is equivalent to {@code new Background(new 
>>> BackgroundFill(fill, null, null));}.
>>> 361:      * @param fill the fill of the background
>> 
>> `@param fill Any Paint. If null, the value Color.TRANSPARENT is used.`
>> 
>> Picked from BackgroundFill constructor's doc
>
> 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 ?

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

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

Reply via email to