• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. Basic Shapes > Rectangles

Rectangles

The rectangle is the simplest of the basic shapes. You specify the x- and y-coordinates of the upper left corner of the rectangle,[3] its width, and its height. The interior of the rectangle is filled with the fill color you specify. If you do not specify a fill color, the interior of the shape is filled with black. The fill color may be specified in any of the ways described in Section 3.2.2, or it may take the value none to leave the interior unfilled and thus transparent. You may also specify a fill-opacity in the same format as you did in Section 3.2.3. Both fill and fill-opacity are presentation properties, and belong in the style attribute.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint