Table of Contents

Class DxfMlineStyleSettings

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

What a style of multilines is made of, to give AddMlineStyle(string, DxfMlineStyleSettings) a new style or Apply(DxfMlineStyleSettings) an edit of one, as AutoCAD's MlineStyle is set before it is added to the dictionary: its description, fill, caps, the angles of its ends, whether a line is drawn across each joint, and its elements.

public sealed class DxfMlineStyleSettings
Inheritance
DxfMlineStyleSettings
Inherited Members

Remarks

A new one holds what AutoCAD's New Multiline Style dialog starts from, the style STANDARD: two elements 0.5 either side of the line drawn, each by layer in colour and linetype, square ends (90 degrees), no caps, no fill, no joints. GetSettings() reads one from a style of a drawing. A style of 1 wide, the offsets 0.5 and -0.5, drawn at scale 20, is 20 wide.

Constructors

DxfMlineStyleSettings()

Initializes the settings of AutoCAD's new style, as the remarks say.

Properties

Description

Gets or sets the description (group 3), as AutoCAD's Description; empty for none.

Elements

Gets the elements, from one to sixteen, each its offset from the line drawn, its colour and its linetype; written from the greatest offset to the least, as AutoCAD sorts them, two of one offset in the order given.

EndAngle

Gets or sets the angle of the end to the line, in radians, as AutoCAD's EndAngle: pi / 2 square across.

EndInnerArcs

Gets or sets whether arcs join the inner elements at the end, as AutoCAD's EndInnerArcs.

EndRoundCap

Gets or sets whether an arc joins the outer elements at the end, as AutoCAD's EndRoundCap.

EndSquareCap

Gets or sets whether a line closes the end, as AutoCAD's EndSquareCap.

FillColor

Gets or sets the colour of the fill, as AutoCAD's FillColor: by layer, by block or an index of 1 to 255.

Filled

Gets or sets whether the multiline is filled between its outer elements, as AutoCAD's Filled.

ShowMiters

Gets or sets whether a line is drawn across each joint, as AutoCAD's ShowMiters.

StartAngle

Gets or sets the angle of the start to the line, in radians, as AutoCAD's StartAngle: pi / 2 square across.

StartInnerArcs

Gets or sets whether arcs join the inner elements at the start, as AutoCAD's StartInnerArcs.

StartRoundCap

Gets or sets whether an arc joins the outer elements at the start, as AutoCAD's StartRoundCap.

StartSquareCap

Gets or sets whether a line closes the start, as AutoCAD's StartSquareCap.