Check containment with polygonal hotspot

  • Thanks klaus.

    So you mean if there is some click event I defined, when I click some point in polygonal hotspot, the event will fire.
    And if the point is not located in hotspot, the event won't fire, right?

    But my step is :
    1. Click the some button.
    2. Display icon by 1.
    3. Move the icon in hotspot.

    Then, the thing I want is just figure out the relation of containment as YES or NO. There's no event.
    If the point I clicked is included in hotspot, I'll do something not going on click event.

    So How can I make decision for this?


    Kevin Lee.

  • Hi klaus.

    Um.. I mean I want to make the decision my icon is included or not in hotspot.
    When I move(drag) my icon in hotspot, easily popup the message "Included".

    I think onover / onout events are useful for me.
    I wonder methodology how it makes the decision included or not.

    I'm gonna find the onover / onout events.
    After that, I'll mention again my progress.

    Thanks Klaus.


    Kevin Lee.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!