9.16. Determining Item TypeTo determine an item's type, call the type method: $canvas->type(tag/id); If the tag or ID matches more than one item, only the type of the first item is returned. The returned value will be a string describing the item type: "oval", "text", "rectangle", and so on. Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|