This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


Updated In 6 Graphic
Rectangle[{xmin, ymin}, {xmax, ymax}]
is a two-dimensional graphics primitive that represents a filled rectangle, oriented parallel to the axes.
Rectangle[{xmin, ymin}]
corresponds to a unit square.
  • Rectangle[{xmin, ymin}, {xmax, ymax}] is equivalent to a suitable Polygon with four corners.
  • FaceForm and EdgeForm can be used to specify separately how the interiors and boundaries of rectangles should be drawn. The default is that no explicit edge is drawn.  »
  • Coordinates and lists of coordinates in rectangles can be Dynamic objects.
New in 1 | Last modified in 6