{<entity> = } rect {<start>,} <finish>
Create a rectangular polyline graphic entity.
<entity>
An entity or gstructure identifier. The lines entity will be given this name.
<start>
A point phrase defining 
 one corner of the rectangle. If omitted, the current position of graphic 
 control is used.
<finish>
A point phrase 
 defining an opposite corner of the rectangle. This may be an array of 
 two point values, in which case the two points define both corners. In 
 such a definition, the <start> 
 parameter should be omitted.
-alph=<num>
      An alpha transparency factor between 0 and 1. A value 1 implies fully opaque, 
      0 means fully transparent (therefore invisible). The default is 1.
-br=<num>
      A brightness factor between -1 and +1. A value 0 means normal, -1 means 
      very dark (black), +1 means very bright (white). The default is 1.
-col=<color>
The color of the lines. If included this overrides any color defined in the 
 linestyle (-ls). If omitted, the value no_change 
 is used.
-fr=<num>
Define a fragment number for the entity. If omitted the default fragment def_fragment is used.
-g=<groups>
The graphic groups of which the entity is to be a part.
-ls=<linestyle | color>
The linestyle of the lines. This 
 can be a linestyle or a color. If omitted, the default modeling color 
 (def_color) is used.
-op=<ident>
A point identifier into which the points of the rectangle are to be recorded. 
 This option is not available when an entity is being created. If <ident> 
 does not exist a new point array is created using current scope rules.
-ra=<num>
Define a rank for the entity. If omitted, the default rank def_rank 
 is used.
-th=<num>
The thickness of the lines. If included, this overrides any thickness defined in the 
 linestyle (-ls).
If the command has the form <entity> = rect, an entity is always created.
If the command has no entity assignment, then an entity will be created only if the -op option is not used, or the command is not within another entity creation block, e.g. lines, polygon.
Create an unnamed lines entity.
rect e:1000&n:1000
Create a named lines entity (the corners are defined interactively).
entity my_rect = rect pcur,pcur,-col=orange
| 
 Commands:  | 
|
| 
 Identifiers:  | 
 def_color (color), def_fragment (numeric), def_rank (numeric)  | 
| 
 Structures:  | 
 entity (lines)  |