Mathematica 9 is now available

Rectangle

Usage

Rectangle[{ ,  }, { ,  }] is a two-dimensional graphics primitive that represents a filled rectangle, oriented parallel to the axes.
Rectangle[{ ,  }, { ,  }, graphics] gives a rectangle filled with the specified graphics.


Notes

Scaled and Offset can be used to specify coordinates.
Rectangle[{ ,  }, { ,  }] is equivalent to a suitable Polygon with four corners.
• You can use graphics directives such as GrayLevel and RGBColor to specify how Rectangle[{ ,  }, { ,  }] should be filled.
• In Rectangle[{ ,  }, { ,  }, graphics], graphics can be any graphics object.
• The rectangle is taken as the complete display area in which the graphics object is rendered.
• When rectangles overlap, their backgrounds are effectively taken to be transparent.
• Fonts and absolute size specifications are not affected by the size of the rectangle in which the graphics are rendered.
• The options DisplayFunction, ColorOutput and CharacterEncoding are ignored for graphics objects given inside Rectangle.
• New in Version 1; modified in 3.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.