• 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/VisualStyle.cs
1
using ACadSharp.Attributes;
2

3
namespace ACadSharp.Objects
4
{
5
        /// <summary>
6
        /// Represents a <see cref="VisualStyle"/> object
7
        /// </summary>
8
        /// <remarks>
9
        /// Object name <see cref="DxfFileToken.ObjectVisualStyle"/> <br/>
10
        /// Dxf class name <see cref="DxfSubclassMarker.VisualStyle"/>
11
        /// </remarks>
12
        [DxfName(DxfFileToken.ObjectVisualStyle)]
13
        [DxfSubClass(DxfSubclassMarker.VisualStyle)]
14
        public class VisualStyle : NonGraphicalObject
15
        {
16
                [DxfCodeValue(44)]
UNCOV
17
                public double Brightness { get; set; }
×
18

19
                /// <summary>
20
                /// Color
21
                /// </summary>
22
                [DxfCodeValue(62, 63)]
UNCOV
23
                public Color Color { get; set; }
×
24

25
                /// <summary>
26
                /// Description
27
                /// </summary>
28
                [DxfCodeValue(2)]
29
                public string Description { get; set; }
×
30

31
                [DxfCodeValue(93)]
UNCOV
32
                public int DisplaySettings { get; set; }
×
33

34
                [DxfCodeValue(174)]
UNCOV
35
                public short EdgeApplyStyleFlag { get; set; }
×
36

37
                [DxfCodeValue(66)]
UNCOV
38
                public int EdgeColor { get; set; }
×
39

40
                [DxfCodeValue(42)]
UNCOV
41
                public double EdgeCreaseAngle { get; set; }
×
42

43
                [DxfCodeValue(64)]
UNCOV
44
                public Color EdgeIntersectionColor { get; set; }
×
45

46
                [DxfCodeValue(175)]
UNCOV
47
                public int EdgeIntersectionLineType { get; set; }
×
48

49
                [DxfCodeValue(171)]
UNCOV
50
                public short EdgeIsolineCount { get; set; }
×
51

52
                [DxfCodeValue(78)]
UNCOV
53
                public int EdgeJitter { get; set; }
×
54

55
                [DxfCodeValue(92)]
UNCOV
56
                public int EdgeModifiers { get; set; }
×
57

58
                [DxfCodeValue(65)]
UNCOV
59
                public Color EdgeObscuredColor { get; set; }
×
60

61
                [DxfCodeValue(75)]
UNCOV
62
                public int EdgeObscuredLineType { get; set; }
×
63

64
                [DxfCodeValue(77)]
UNCOV
65
                public int EdgeOverhang { get; set; }
×
66

67
                [DxfCodeValue(67)]
UNCOV
68
                public Color EdgeSilhouetteColor { get; set; }
×
69

70
                [DxfCodeValue(79)]
UNCOV
71
                public int EdgeSilhouetteWidth { get; set; }
×
72

73
                [DxfCodeValue(91)]
UNCOV
74
                public int EdgeStyle { get; set; }
×
75

76
                [DxfCodeValue(74)]
77
                public EdgeStyleModel EdgeStyleModel { get; set; }
×
78

79
                [DxfCodeValue(76)]
UNCOV
80
                public int EdgeWidth { get; set; }
×
81

82
                [DxfCodeValue(73)]
83
                public FaceColorMode FaceColorMode { get; set; }
×
84

85
                /// <summary>
86
                /// Gets or sets the lighting model used to render the face.
87
                /// </summary>
88
                /// <remarks>The lighting model determines how light interacts with the face during rendering, affecting its
89
                /// appearance and shading. Set this property to control the visual style of the face in 3D scenes.</remarks>
90
                [DxfCodeValue(71)]
91
                public FaceLightingModelType FaceLightingModel { get; set; }
×
92

93
                [DxfCodeValue(72)]
94
                public FaceLightingQualityType FaceLightingQuality { get; set; }
×
95

96
                [DxfCodeValue(90)]
97
                public FaceModifierType FaceModifiers { get; set; }
×
98

99
                /// <summary>
100
                /// Face opacity level
101
                /// </summary>
102
                [DxfCodeValue(40)]
UNCOV
103
                public double FaceOpacityLevel { get; set; }
×
104

105
                /// <summary>
106
                /// Face specular level
107
                /// </summary>
108
                [DxfCodeValue(41)]
UNCOV
109
                public double FaceSpecularLevel { get; set; }
×
110

111
                /// <summary>
112
                /// Face style mono color
113
                /// </summary>
114
                [DxfCodeValue(421)]
UNCOV
115
                public Color FaceStyleMonoColor { get; set; }
×
116

117
                [DxfCodeValue(170)]
UNCOV
118
                public short HaloGap { get; set; }
×
119

120
                /// <summary>
121
                /// Internal use only flag
122
                /// </summary>
123
                [DxfCodeValue(291)]
UNCOV
124
                public bool InternalFlag { get; internal set; }
×
125

126
                /// <inheritdoc/>
UNCOV
127
                public override string ObjectName => DxfFileToken.ObjectVisualStyle;
×
128

129
                /// <inheritdoc/>
130
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
131

132
                [DxfCodeValue(43)]
UNCOV
133
                public double OpacityLevel { get; set; }
×
134

135
                /// <summary>
136
                /// Edge hide precision flag
137
                /// </summary>
138
                [DxfCodeValue(290)]
UNCOV
139
                public bool PrecisionFlag { get; set; }
×
140

141
                /// <summary>
142
                /// Raster file name
143
                /// </summary>
144
                [DxfCodeValue(1)]
145
                public string RasterFile { get; set; }
×
146

147
                [DxfCodeValue(173)]
UNCOV
148
                public short ShadowType { get; set; }
×
149

150
                /// <inheritdoc/>
151
                public override string SubclassMarker => DxfSubclassMarker.VisualStyle;
×
152

153
                /// <summary>
154
                /// Type
155
                /// </summary>
156
                [DxfCodeValue(70)]
UNCOV
157
                public int Type { get; set; }
×
158

159
                /// <summary>
160
                /// Default <see cref="VisualStyle"/> name.
161
                /// </summary>
162
                public const string DefaultName = "2dWireframe";
163
        }
164
}
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