Objects
objects/ mline/ style
#include "dxfio/objects/mline/style.hpp"In DxfIO::Objects::Mline
struct Element
One of the parallel lines a multiline style draws.
| Field | Type and default | Meaning |
|---|---|---|
Offset | double | How far the line runs from the multiline's center line. Group 49. |
Color | int{Colors::Bylayer} | The AutoCAD Color Index of the line: 1 to 255, 0 for ByBlock, 256 for ByLayer. Group 62. |
Linetype | std::string{"BYLAYER"} | The name of the line's linetype. Group 6. |
struct MLineStyleMLINESTYLE
An MLINESTYLE: the parallel lines, fill and end caps a multiline is drawn with.
| Field | Type and default | Meaning |
|---|---|---|
Base | DxfIO::Base | The handle, owner, reactors and extended data. |
Name | std::string | The name of the style, such as "Standard". Group 2. |
Flags | int | Bits: 1 filled, 2 miters shown, 16, 32 and 64 a line, inner arc or outer arc capping the start, 256, 512 and 1024 the same at the end. Group 70. |
Description | std::string | The style's description. Group 3. |
Fill | int{Colors::Bylayer} | The AutoCAD Color Index of the fill. Group 62. |
Start | double{Mline::Square} | The angle of the start cap, in degrees. Group 51. |
End | double{Mline::Square} | The angle of the end cap, in degrees. Group 52. |
Elements | std::vector<Mline::Element> | The lines, in order; their count is group 71. |
Constants
Square | double = 90 | The start and end angle of a new multiline style, in degrees: square to the line. |