Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124234

Picking a region shape doesn't respect center shape or scale shape properties

XMLWordPrintable

      This is because the NGRegion code will adjust the Shape object based on center / scale shape, but Region does not. However Region has to implement the picking logic. If Region knew about NGShape of the shape it was supplied, it could then do the shape resizing technique on the Region level and pass the resized shape down to the NGRegion (essentially pulling a chunk of logic from NGRegion up into Region). Region then could have accurate picking for shapes when pickOnBounds is set to false.

            msladecek Martin Sládeček
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: