shape Possible Values : shape « HTML Attributes Reference « HTML CSS Reference

Home
HTML CSS Reference
1.CSS Attributes and Javascript Style Properties
2.HTML Attributes Reference
3.HTML Tag Reference
HTML CSS Reference » HTML Attributes Reference » shape 
shape Possible Values

Possible Values


 <element                         x and y are coordinates for the circle center, and r
 shape="circle"                  represents the radius 
 coords="x, y, r">
...</element>                               

<element                         x1 and y1 represent the top-left rectangle
   shape="rectangle"             corner, and x2 and y2 represent the bottom- 
   coords="x1, y1, x2, y2">      right corner
...</element>



<element                         each x and y pair represents the coordinates 
   shape="polygon"               of a vertex in a polygon
   coords="x1, y1, x2, y2, . . . xn, yn">
...</element>

                                 The point of origin in the document is (0,0)
                                 X increases toward the right and Y increases 
                                 toward the bottom.
    
      
      
Related examples in the same category
1.'shape' Syntax and Note
2.'shape' Example
3.shape is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.