Command: rect

Syntax

{<entity> = } rect {<start>,} <finish>

Description

Create a rectangular polyline graphic entity.

Parameters

Switches

Notes

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.

Examples

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

See Also

Commands:

entity, gstructure, lines, point

Identifiers:

def_color (color), def_fragment (numeric), def_rank (numeric)

Structures:

entity (lines)