On Mon, 12 Dec 2022 20:43:39 GMT, Rajat Mahajan <d...@openjdk.org> wrote:
>> @rajamah In-order to paint the border even when g is not a Graphics2D object >> I have added the `resetTransform` check here again and additionally to keep >> the if & else block close-by, which is easier to understand rather than >> having the blocks separated. > > sure, makes sense. Thanks Still, I think it makes sense to combine this block with the above one. If `resetTransform` is true, the transform is reset and variables are set to the values as calculated in this block; otherwise, the variables are initialised with the default values. ------------- PR: https://git.openjdk.org/jdk/pull/11571