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
• 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.
|