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

DomCR / ACadSharp / 12327521755

14 Dec 2024 06:13AM UTC coverage: 75.414% (-0.009%) from 75.423%
12327521755

push

github

web-flow
Merge pull request #505 from DomCR/issue-504_hatchpattern-lineangle-n-offset-public

issue 504

5116 of 7491 branches covered (68.3%)

Branch coverage included in aggregate %.

4 of 9 new or added lines in 1 file covered. (44.44%)

3 existing lines in 1 file now uncovered.

20392 of 26333 relevant lines covered (77.44%)

36657.44 hits per line

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

44.44
/src/ACadSharp/Entities/HatchPattern.Line.cs
1
using ACadSharp.Attributes;
2
using CSMath;
3
using System.Collections.Generic;
4

5
namespace ACadSharp.Entities
6
{
7
        public partial class HatchPattern
8
        {
9
                public class Line
10
                {
11
                        /// <summary>
12
                        /// Pattern line angle
13
                        /// </summary>
14
                        [DxfCodeValue(DxfReferenceType.IsAngle, 53)]
15
                        public double Angle { get; set; }
1,365✔
16

17
                        /// <summary>
18
                        /// Pattern line base point
19
                        /// </summary>
20
                        [DxfCodeValue(43, 44)]
21
                        public XY BasePoint { get; set; }
1,575✔
22

23
                        /// <summary>
24
                        /// Pattern line offset
25
                        /// </summary>
26
                        [DxfCodeValue(45, 46)]
27
                        public XY Offset { get; set; }
1,575✔
28

29
                        public List<double> DashLengths { get; set; } = new List<double>();
3,731✔
30

31
                        public Line Clone()
NEW
32
                        {
×
NEW
33
                                Line clone = (Line)this.MemberwiseClone();
×
NEW
34
                                clone.DashLengths = new List<double>(this.DashLengths);
×
NEW
35
                                return clone;
×
NEW
36
                        }
×
37
                }
38
        }
39
}
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

© 2025 Coveralls, Inc