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

DomCR / ACadSharp / 29143042407

11 Jul 2026 06:34AM UTC coverage: 2.912% (-73.0%) from 75.918%
29143042407

push

github

web-flow
Merge pull request #1146 from ilCosmico/acds-read-payload-anchor

Read the AcDs payload area offset from the data segment header

264 of 12999 branches covered (2.03%)

Branch coverage included in aggregate %.

0 of 30 new or added lines in 1 file covered. (0.0%)

31243 existing lines in 465 files now uncovered.

1337 of 41984 relevant lines covered (3.18%)

5.38 hits per line

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

0.0
/src/ACadSharp/Objects/MultiLeaderObjectContextData.LeaderRoot.cs
1
using System;
2
using System.Collections.Generic;
3
using ACadSharp.Attributes;
4
using CSMath;
5

6
namespace ACadSharp.Objects
7
{
8
        public partial class MultiLeaderObjectContextData
9
        {
10
                /// <summary>
11
                /// Represents a leader root
12
                /// </summary>
13
                /// <remarks>
14
                /// Appears in DXF as 302 DXF: “LEADER“
15
                /// </remarks>
16
                public class LeaderRoot : ICloneable
17
                {
18
                        /// <summary>
19
                        /// Gets a list of <see cref="StartEndPointPair" />.
20
                        /// </summary>
UNCOV
21
                        public IList<StartEndPointPair> BreakStartEndPointsPairs { get; private set; } = new List<StartEndPointPair>();
×
22

23
                        /// <summary>
24
                        /// Connection point
25
                        /// </summary>
26
                        [DxfCodeValue(10, 20, 30)]
UNCOV
27
                        public XYZ ConnectionPoint { get; set; }
×
28

29
                        /// <summary>
30
                        /// Is content valid (ODA writes true)
31
                        /// </summary>
32
                        [DxfCodeValue(290)]
UNCOV
33
                        public bool ContentValid { get; set; }
×
34

35
                        /// <summary>
36
                        /// Direction
37
                        /// </summary>
38
                        [DxfCodeValue(11, 21, 31)]
UNCOV
39
                        public XYZ Direction { get; set; }
×
40

41
                        /// <summary>
42
                        /// Landing distance
43
                        /// </summary>
44
                        [DxfCodeValue(40)]
UNCOV
45
                        public double LandingDistance { get; set; }
×
46

47
                        /// <summary>
48
                        /// Leader index
49
                        /// </summary>
50
                        [DxfCodeValue(90)]
UNCOV
51
                        public int LeaderIndex { get; set; }
×
52

53
                        /// <summary>
54
                        /// Gets a list of <see cref="LeaderLine"/> objects representing
55
                        /// leader lines starting from the landing point
56
                        /// of the multi leader.
57
                        /// </summary>
UNCOV
58
                        public IList<LeaderLine> Lines { get; private set; } = new List<LeaderLine>();
×
59

60
                        //R2010
61
                        /// <summary>
62
                        /// Attachment direction
63
                        /// </summary>
64
                        [DxfCodeValue(271)]
UNCOV
65
                        public TextAttachmentDirectionType TextAttachmentDirection { get; set; }
×
66

67
                        /// <summary>
68
                        /// Unknown (ODA writes true)
69
                        /// </summary>
70
                        [DxfCodeValue(291)]
UNCOV
71
                        public bool Unknown { get; set; }
×
72

UNCOV
73
                        public LeaderRoot() { }
×
74

75
                        public object Clone()
76
                        {
×
77
                                LeaderRoot clone = (LeaderRoot)base.MemberwiseClone();
×
78

79
                                clone.BreakStartEndPointsPairs = new List<StartEndPointPair>();
×
80
                                foreach (var breakStartEndPoint in this.BreakStartEndPointsPairs)
×
81
                                {
×
82
                                        clone.BreakStartEndPointsPairs.Add((StartEndPointPair)breakStartEndPoint.Clone());
×
83
                                }
×
84

85
                                clone.Lines = new List<LeaderLine>();
×
86
                                foreach (var line in this.Lines)
×
87
                                {
×
88
                                        clone.Lines.Add((LeaderLine)line.Clone());
×
89
                                }
×
90

91
                                return clone;
×
92
                        }
×
93
                }
94
        }
95
}
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