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

DomCR / ACadSharp / 12905761471

22 Jan 2025 10:03AM UTC coverage: 2.0% (-74.0%) from 75.963%
12905761471

push

github

DomCR
version 1.0.6

104 of 7676 branches covered (1.35%)

Branch coverage included in aggregate %.

590 of 27024 relevant lines covered (2.18%)

5.13 hits per line

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

0.0
/src/ACadSharp/Entities/HatchPattern.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 static HatchPattern Solid { get { return new HatchPattern("SOLID"); } }
×
10

11
                [DxfCodeValue(2)]
12
                public string Name { get; set; }
×
13

14
                [DxfCodeValue(DxfReferenceType.IsAngle, 53)]
15
                public double Angle { get; set; }
×
16

17
                public double Scale { get; set; }
×
18

19
                public List<Line> Lines { get; set; } = new List<Line>();
×
20

21
                public HatchPattern(string name)
×
22
                {
×
23
                        this.Name = name;
×
24
                }
×
25

26
                public HatchPattern Clone()
27
                {
×
28
                        HatchPattern clone = (HatchPattern)this.MemberwiseClone();
×
29

30
                        clone.Lines = new List<Line>();
×
31
                        foreach (var item in this.Lines)
×
32
                        {
×
33
                                clone.Lines.Add(item.Clone());
×
34
                        }
×
35

36
                        return clone;
×
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