map-shape

Map Shape

The overall shape of the area being mapped for a hot spot in a client-side image map, e.g., a rectangular hot spot, a circular hot spot, etc.

Usage

This attribute is used in combination with the @map-coords attribute to define the hot spot on the graphic image. This attribute names the overall shape, and the @map-coords attribute gives the coordinates of the edges of the shape.

Attribute Values

In Element

<area>
Value Meaning
circle The map is circular in shape. Coordinates for the center and the radius will be given by the @map-coords attribute.
poly The map is a regular polygon that is not a rectangle. Coordinates for the points will be given by the @map-coords attribute.
rect The map is rectangular in shape. Coordinates for the top-left and bottom-right corners will be given by the @map-coords attribute.
Restriction: This attribute must be specified if the element is used.