HTML and CSS Reference
In-Depth Information
NOTE
The 0,0 origin is in the upper-left corner of the image, and positive
y is down.
FIGURE 9.26
Getting the
coordinates for
a polygon.
(276,19)
(0,0)
(229,66)
(332,19)
9
(263,94)
(333,94)
Defining a Circle
Figure 9.27 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.
FIGURE 9.27
Getting the coordi-
nates for a circle.
(0,0)
Center (121,79)
Radius of circle=66 pixels
 
 
Search WWH ::




Custom Search