|
QCAD
Open Source 2D CAD
|
Functions | |
| void | addArc (void center, void radius, void startAngle, void endAngle, void reversed) |
| Adds an arc to the drawing. | |
| void | addCircle (void center, void radius) |
| Adds a circle to the drawing. | |
| void | addEntity (void entity) |
| Adds the given REntity to the drawing using layer and attributes as set by the entity. | |
| void | addLayer (void name, void colorName, void linetypeName, void lineWeight) |
| Adds a layer to the drawing. | |
| void | addLine (void startPoint, void endPoint) |
| Adds a line to the drawing. | |
| void | addObject (void obj) |
| Adds the given RObject to the drawing. | |
| void | addPoint (void position) |
| Adds a point to the drawing. | |
| void | addPolyline (void points, void closed, void relative) |
| Adds a polyline to the drawing. | |
| void | addShape (void shape, void color, void linetype, void lineweight) |
| Adds the given RShape to the drawing as a new entity using current layer and attributes. | |
| void | addShapes (void shapes) |
| Adds the given RShapes to the drawing as new entities using current layer and attributes. | |
| void | addSimpleText (void text, void position, void height, void angle, void font, void vAlign, void hAlign, void bold, void italic) |
| Adds a simple text to the drawing. | |
| void | addSpline (void points, void closed) |
| Adds a spline to the drawing. | |
| void | addXLine (void startPoint, void directionVector) |
| Adds an infinite line to the drawing. | |
| void | deleteObject (void obj) |
| Deletes the given RObject from the drawing. | |
| void | hasLayer (void name) |
| Checks if the given layer exists. | |
| void | setCurrentColor (void color) |
| Sets the current color for newly added entities. | |
| void | setCurrentLayer (void layerName) |
| Sets the current layer to the given layer. | |