Nevron Forum

HitTest and PNG

https://www.nevron.com/Forum/Topic7887.aspx

By max max 4 - Monday, June 17, 2013

i'm evaluating this software... very nice...
but i need something for me very important...

with multiple shape (one over other) all with imagefillstyle filled with png image, i need to make hittest over the bitmpap and choose the first who have the pixel color <> than transparent.color.

Please... help me if not this EXCEPTIONAL product is useless for me...

(sorry for my bad english but hope you can understand )

tnx...

By Nevron Support - Tuesday, June 18, 2013

Hi,

If you need hit test support, it will be best to create composite shape that describes the geometry of the bitmap instead of using image fill styles. Take a look at the Document Object Model -> Shapes -> Custom Shapes example that comes preinstalled with Nevron Diagram for .NET for a sample implementation (focus on the CreateCoffeeCupShape method).

By max max 4 - Wednesday, June 19, 2013

tnx for your answere but i must put hundreds of little images on the drawingview. I think become too much slow then the interaction with objects...

i need to know if there is a way to know, for each object returning from hit test, the color of pixel in that mouse position... nothing more

(or a way to get that pixel color )

tnx