Contents Index Topic Contents | ||
Previous Topic: self Next Topic: shiftKey |
shape
Description
Specifies the type of shape used in the image map.
Syntax
object.shape[ = shape]
Settings
This read-write property takes a string specifying a shape. Each shape causes the coords attribute to take a different set of values.
circ Circle. Takes three coordinates: centerx, centery, and radius. circle Circle. Takes three coordinates: centerx, centery, and radius. poly Polygon. Takes three or more pairs of coordinates denoting a polygonal region. polygon Polygon. Takes three or more pairs of coordinates denoting a polygonal region. rect Rectangle. Takes four coordinates: x1, y1, x2, and y2. rectangle Rectangle. Takes four coordinates: x1, y1, x2, and y2. Applies To
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.