• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DomCR / ACadSharp / 17737836230

15 Sep 2025 03:12PM UTC coverage: 2.092% (-76.2%) from 78.245%
17737836230

push

github

web-flow
Merge pull request #790 from DomCR/addflag-refactor

addflag refactor

141 of 9225 branches covered (1.53%)

Branch coverage included in aggregate %.

0 of 93 new or added lines in 10 files covered. (0.0%)

24910 existing lines in 372 files now uncovered.

724 of 32119 relevant lines covered (2.25%)

5.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/ACadSharp/Objects/MLineStyle.cs
1
using ACadSharp.Attributes;
2
using System.Collections.Generic;
3

4
namespace ACadSharp.Objects
5
{
6
        /// <summary>
7
        /// Represents a <see cref="MLineStyle"/> object
8
        /// </summary>
9
        /// <remarks>
10
        /// Object name <see cref="DxfFileToken.ObjectMLineStyle"/> <br/>
11
        /// Dxf class name <see cref="DxfSubclassMarker.MLineStyle"/>
12
        /// </remarks>
13
        [DxfName(DxfFileToken.ObjectMLineStyle)]
14
        [DxfSubClass(DxfSubclassMarker.MLineStyle)]
15
        public partial class MLineStyle : NonGraphicalObject
16
        {
17
                /// <summary>
18
                /// Default multiline style name
19
                /// </summary>
20
                public const string DefaultName = "Standard";
21

22
                /// <summary>
23
                /// Gets the default MLine style
24
                /// </summary>
UNCOV
25
                public static MLineStyle Default { get { return new MLineStyle(DefaultName); } }
×
26

27
                /// <inheritdoc/>
UNCOV
28
                public override ObjectType ObjectType => ObjectType.MLINESTYLE;
×
29

30
                /// <inheritdoc/>
UNCOV
31
                public override string ObjectName => DxfFileToken.ObjectMLineStyle;
×
32

33
                /// <inheritdoc/>
34
                public override string SubclassMarker => DxfSubclassMarker.MLineStyle;
×
35

36
                /// <summary>
37
                /// Mline style name
38
                /// </summary>
39
                [DxfCodeValue(2)]
40
                public override string Name
41
                {
42
                        get
UNCOV
43
                        {
×
UNCOV
44
                                return base.Name;
×
UNCOV
45
                        }
×
46
                        set
UNCOV
47
                        {
×
UNCOV
48
                                base.Name = value;
×
UNCOV
49
                        }
×
50
                }
51

52
                /// <summary>
53
                /// Multi line style flags
54
                /// </summary>
55
                [DxfCodeValue(70)]
UNCOV
56
                public MLineStyleFlags Flags { get; set; }
×
57

58
                /// <summary>
59
                /// Style description
60
                /// </summary>
61
                /// <value>
62
                /// 255 characters maximum
63
                /// </value>
64
                [DxfCodeValue(3)]
UNCOV
65
                public string Description { get; set; }
×
66

67
                /// <summary>
68
                /// Fill color
69
                /// </summary>
70
                [DxfCodeValue(62)]
UNCOV
71
                public Color FillColor { get; set; } = Color.ByLayer;
×
72

73
                /// <summary>
74
                /// Start angle
75
                /// </summary>
76
                [DxfCodeValue(DxfReferenceType.IsAngle, 51)]
UNCOV
77
                public double StartAngle { get; set; } = System.Math.PI / 2;
×
78

79
                /// <summary>
80
                /// End angle
81
                /// </summary>
82
                [DxfCodeValue(DxfReferenceType.IsAngle, 52)]
UNCOV
83
                public double EndAngle { get; set; } = System.Math.PI / 2;
×
84

85
                /// <summary>
86
                /// Elements in the style
87
                /// </summary>
88
                [DxfCodeValue(DxfReferenceType.Count, 71)]
UNCOV
89
                public List<MLineStyle.Element> Elements { get; } = new List<Element>();
×
90

UNCOV
91
                internal MLineStyle() { }
×
92

UNCOV
93
                public MLineStyle(string name)
×
UNCOV
94
                {
×
UNCOV
95
                        this.Name = name;
×
UNCOV
96
                }
×
97
        }
98
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc