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

DomCR / ACadSharp / 16399014406

20 Jul 2025 10:41AM UTC coverage: 75.129% (+0.09%) from 75.043%
16399014406

push

github

web-flow
Merge pull request #715 from DomCR/issue-712-pdfunderlay-writer

Issue 712 pdfunderlay writer

5899 of 8639 branches covered (68.28%)

Branch coverage included in aggregate %.

174 of 253 new or added lines in 18 files covered. (68.77%)

12 existing lines in 3 files now uncovered.

23517 of 30515 relevant lines covered (77.07%)

80247.46 hits per line

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

85.71
/src/ACadSharp/Entities/RasterImage.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Objects;
3
using System;
4

5
namespace ACadSharp.Entities
6
{
7
        /// <summary>
8
        /// Represents a <see cref="RasterImage"/> entity.
9
        /// </summary>
10
        /// <remarks>
11
        /// Object name <see cref="DxfFileToken.EntityImage"/> <br/>
12
        /// Dxf class name <see cref="DxfSubclassMarker.RasterImage"/>
13
        /// </remarks>
14
        [DxfName(DxfFileToken.EntityImage)]
15
        [DxfSubClass(DxfSubclassMarker.RasterImage)]
16
        public class RasterImage : CadWipeoutBase
17
        {
18
                /// <inheritdoc/>
19
                public override string ObjectName => DxfFileToken.EntityImage;
491✔
20

21
                /// <inheritdoc/>
22
                public override ObjectType ObjectType => ObjectType.UNLISTED;
1✔
23

24
                /// <inheritdoc/>
25
                public override string SubclassMarker => DxfSubclassMarker.RasterImage;
16✔
26

27
                /// <inheritdoc/>
28
                public override ImageDefinition Definition
29
                {
30
                        get
31
                        {
179✔
32
                                return base.Definition;
179✔
33
                        }
179✔
34

35
                        set
36
                        {
156✔
37
                                if (value == null)
156!
NEW
38
                                {
×
NEW
39
                                        throw new ArgumentNullException(nameof(value));
×
40
                                }
41

42
                                base.Definition = value;
156✔
43
                        }
156✔
44
                }
45

46
                /// <summary>
47
                /// Initializes a new instance of the <see cref="RasterImage" /> class.
48
                /// </summary>
49
                /// <param name="definition"></param>
50
                public RasterImage(ImageDefinition definition)
6✔
51
                {
6✔
52
                        this.Definition = definition;
6✔
53
                }
6✔
54

55
                internal RasterImage() : base()
133✔
56
                {
133✔
57
                }
133✔
58
        }
59
}
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