Finding items by their position

The Canvas class includes methods to retrieve item identifiers that are close to a canvas coordinate.

This is very useful because it saves us from storing each reference to a canvas item and then calculating their current position to detect which ones are within a specific area or closest to a certain point.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset