Fabric.js: Selection box perPixelTargetFind ?

Created on 9 Mar 2017  路  6Comments  路  Source: fabricjs/fabric.js

Hi,

is there a way to select a group of object with the selection box and avoid situations like this ?
problemfabricjs
(I didn't want to have the circle)
Having perPixelTargetFind set to "true" doesn't help.

possible_feature

Most helpful comment

no it doesnt. the group selection is very rough.

can be improved, for now there is not.

i ll flag as a possible feature

All 6 comments

no it doesnt. the group selection is very rough.

can be improved, for now there is not.

i ll flag as a possible feature

Ok, thank you for answering :)

No it's a bit different

@asturur #4508 make this case possible now. I think it can be closed

No here they are asking to be able to detect the fill color of the shape itselft.
So a circle behaves differentyl from a rect and from a triangle.

This can still be achieved, but for now i m not gonna implement it now.
I just realized that we also made your change as a true/false while was better to made a string.

so selectionMode: intersect/contain/pixel

we will see later

Was this page helpful?
0 / 5 - 0 ratings