Rectangle
Usage
Notes
• 可以使用Scaled和Offset来指定矩形的坐标. • 同Scaled和Offset一样,任何普通坐标的组合可以用来指定矩形的顶角. • Rectangle[ xmin, ymin , xmax, ymax ] 等价于一个具有四个顶角的适当的 Polygon. • 你可以使用诸如 GrayLevel和 RGBColor之类的图形指令来指定 Rectangle[ xmin, ymin , xmax, ymax ]的填充
风格. • 在 Rectangle[ xmin, ymin , xmax, ymax , graphics]中, graphics可以是任何图形对象. • 该矩形被当作图形对象所使用的完整显示区域.
• 当矩形交迭时,它们的背景被视作是透明的.
• 字体和绝对大小指定不会受到图形所使用的矩形大小的影响.
• 对于Rectangle内部所给出的图形对象,可选项DisplayFunction, ColorOutput 和 CharacterEncoding会被忽略.
Further Examples
This displays two colored rectangles in the plane. Evaluate the cell to see the graphic.
In[1]:=
|
|