RFR: 8279614: The left line of the TitledBorder is not painted on 150 scale factor [v7]
Kevin Rushforth
kcr at openjdk.java.net
Tue Mar 29 23:44:37 UTC 2022
On Tue, 29 Mar 2022 23:33:19 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> As far as I remember the best solution(used by the javafx) is to draw layers by the fillArea(shadow area->then border area then component area), I am not sure it will be much slower.
Yes, within a Region, that's how we do it. We render 0 or more background rects (filled), then 0 or more borders (stroked). Then the children are rendered.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7449
More information about the client-libs-dev
mailing list