- Four drawing commands are :
Line: A line is specified by giving its two endpoints. Line command can be used to draw a single line or a series of lines with the endpoint of one being the start point of the next. When a series of such lines is created each line is treated as a separate entity.
Syntax: LINE or L
P line: Polylines are interesting drawing entities. Polyline can include both lines and arcs connected at an endpoint. A polyline is a single entity with multiple segments. The polyline can be straight or curved, can be wide or tapered. Curve fittings and hatching can easily be performed on a polyline.
Syntax: PLINE
- Polygon: A polygon is also a polyline with an equal length of sides. The regular polygon can either be inscribed in a circle or circumscribed about the circle. The polygon may also be constructed by specifying the length of one side and the number of sides of the polygon called edges.
Syntax: POLYGON
- Arc: This command is used to draw an arc accurately.
Syntax: ARC
There are three parameters required for drawing an arc :
(I) 3 point arc: The arc is drawing by specifying three-point on the arc.
(II) Start center: This option needs the start point and a center point of an arc the third parameter may either be an endpoint, included angle, length of the chord.
(III) Start, End: This option asks the user to enter the start and endpoints of an arc. The arc is completed by either specifying radius or included angle or center point.
Leave a Reply