RT-20302: Consider changing picking behavior of dashed strokes

Kevin Rushforth kevin.rushforth at oracle.com
Wed May 9 09:10:14 PDT 2012

Fixed (now public).

-- Kevin

Dr. Michael Paus wrote:
> It is not easy to comment on this if RT-19994 is kept secret.
> Am 09.05.2012 17:44, schrieb Lubomir Nerad:
>> Hi,
>> I would like to change mouse picking behavior of objects with dashed 
>> stroke as described in http://javafx-jira.kenai.com/browse/RT-20302. 
>> Currently an object is picked even when the mouse click happens in 
>> the non-filled parts (inside spaces) of the dashed stroke (stroke 
>> dash array and dash offset have no impact on picking). With RT-19994, 
>> this can create an unexpected situation, when a Shape is picked 
>> inside stroke spaces, but if it is used in a CAG operation (for 
>> example Shape.intersect(shape1, shape1)) the resulting Shape won't 
>> include the spaces and so won't be picked inside of them. To get 
>> consistent behavior I propose not to pick the spaces inside object 
>> stokes.
>> Do you agree?
>> Thanks,
>> Lubo

More information about the openjfx-dev mailing list