ptg16476052
What Is an Imagemap? 229
9
(0,0) (229,66)
(333,94)
(332,19)
(276,19)
(263,94)
Defining a Circle
Figure 9.23 shows how to get the coordinates for circles. Here you note the coordinates
for the center point of the circle and the radius, in pixels. The center point of the circle is
defined as the x,y coordinate from the upper-left corner of the image.
(0,0) Center (121,79)
Radius of circle=66 pixels
FIGURE 9.23
Getting the coordi-
nates for a circle.
The 0,0 origin is in the upper-left corner of the image, and posi-
tive y is down.
NOTE
FIGURE 9.22
Getting the coor-
dinates for a poly-
gon.