#include <dl_attributes.h>
Public Member Functions | |
| DL_Attributes () | |
| Default constructor. | |
| DL_Attributes (const string &layer, int color, int width, const string &lineType) | |
| Constructor for DXF attributes. | |
| void | setLayer (const string &layer) |
| Sets the layer. | |
| string | getLayer () const |
| void | setColor (int color) |
| Sets the color. | |
| int | getColor () const |
| void | setWidth (int width) |
| Sets the width. | |
| int | getWidth () const |
| void | setLineType (const string &lineType) |
| Sets the line type. | |
| string | getLineType () const |
| DL_Attributes | operator= (const DL_Attributes &attrib) |
| Copies attributes (deep copies) from another attribute object. | |
Attributes are the layer name, color, width and line type.
|
||||||||||||||||||||
|
Constructor for DXF attributes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets the color.
|
|
|
Sets the layer. If the given pointer points to NULL, the new layer name will be an empty but valid string. |
|
|
Sets the line type. This can be any string and is not checked to be a valid line type. |
1.4.4