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.

FieldType and defaultMeaning
OffsetdoubleHow far the line runs from the multiline's center line. Group 49.
Colorint{Colors::Bylayer}The AutoCAD Color Index of the line: 1 to 255, 0 for ByBlock, 256 for ByLayer. Group 62.
Linetypestd::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.

FieldType and defaultMeaning
BaseDxfIO::BaseThe handle, owner, reactors and extended data.
Namestd::stringThe name of the style, such as "Standard". Group 2.
FlagsintBits: 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.
Descriptionstd::stringThe style's description. Group 3.
Fillint{Colors::Bylayer}The AutoCAD Color Index of the fill. Group 62.
Startdouble{Mline::Square}The angle of the start cap, in degrees. Group 51.
Enddouble{Mline::Square}The angle of the end cap, in degrees. Group 52.
Elementsstd::vector<Mline::Element>The lines, in order; their count is group 71.

Constants

Squaredouble = 90The start and end angle of a new multiline style, in degrees: square to the line.