shape

This attribute defines the shape of a linking image, or mouseover hot spot, in an eBook. It is used in combination with the area tag and a set of coord attributes to describe for rectangles, circles, polygons, and the default shape.

Syntax

shape="rect|circle|poly|default"

Tag Usage
rect Defined by an upper left corner and bottom right corner. For an area tag, this attribute might read as follows: <area shape=rect coords="x1,y1,x2,y2>
circle Defined by its center points and its radius r, for example: <area shape=circle coords="x,y,r">
Poly Defined by a list of coordinates; each x-y pair is the next coordinate in the polygon, and the last pair connects back to the first pair. <area shape=poly coords="x1,y1,x2,y2,x3,y3,x4,y4,x5,y5,x6,y6">
default This location has no coordinates, and it is only used to specify a link destination for when a user clicks on an area not defined by any other coordinates.

Associated Tags

area

© 2000 Microsoft Corporation. All rights reserved. Terms of use.