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

DomCR / ACadSharp / 17737836230

15 Sep 2025 03:12PM UTC coverage: 2.092% (-76.2%) from 78.245%
17737836230

push

github

web-flow
Merge pull request #790 from DomCR/addflag-refactor

addflag refactor

141 of 9225 branches covered (1.53%)

Branch coverage included in aggregate %.

0 of 93 new or added lines in 10 files covered. (0.0%)

24910 existing lines in 372 files now uncovered.

724 of 32119 relevant lines covered (2.25%)

5.76 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
                /// <inheritdoc/>
17
                public override ObjectType ObjectType => ObjectType.UNLISTED;
×
18

19
                /// <inheritdoc/>
UNCOV
20
                public override string ObjectName => DxfFileToken.ObjectVisualStyle;
×
21

22
                /// <inheritdoc/>
UNCOV
23
                public override string SubclassMarker => DxfSubclassMarker.VisualStyle;
×
24

25
                /// <summary>
26
                /// Raster file name
27
                /// </summary>
28
                [DxfCodeValue(1)]
UNCOV
29
                public string RasterFile { get; set; }
×
30

31
                /// <summary>
32
                /// Description
33
                /// </summary>
34
                [DxfCodeValue(2)]
UNCOV
35
                public string Description { get; set; }
×
36

37
                /// <summary>
38
                /// Type
39
                /// </summary>
40
                [DxfCodeValue(70)]
UNCOV
41
                public int Type { get; set; }
×
42

43
                //71        Face lighting model
44
                //0 =Invisible
45
                //1 = Visible
46
                //2 = Phong
47
                //3 = Gooch
48
                [DxfCodeValue(71)]
UNCOV
49
                public FaceLightingModelType FaceLightingModel { get; set; }
×
50

51
                //72        Face lighting quality
52
                //0 = No lighting
53
                //1 = Per face lighting
54
                //2 = Per vertex lighting
55
                [DxfCodeValue(72)]
UNCOV
56
                public FaceLightingQualityType FaceLightingQuality { get; set; }
×
57

58
                //73        Face color mode
59
                //0 = No color
60
                //1 = Object color
61
                //2 = Background color
62
                //3 = Custom color
63
                //4 = Mono color
64
                //5 = Tinted
65
                //6 = Desaturated
66
                [DxfCodeValue(73)]
UNCOV
67
                public FaceColorMode FaceColorMode { get; set; }
×
68

69
                //90
70
                //Face modifiers
71
                //0 = No modifiers
72
                //1 = Opacity
73
                //2 = Specular
74
                [DxfCodeValue(90)]
UNCOV
75
                public FaceModifierType FaceModifiers { get; set; }
×
76

77
                /// <summary>
78
                /// Face opacity level
79
                /// </summary>
80
                [DxfCodeValue(40)]
UNCOV
81
                public double FaceOpacityLevel { get; set; }
×
82

83
                /// <summary>
84
                /// Face specular level
85
                /// </summary>
86
                [DxfCodeValue(41)]
UNCOV
87
                public double FaceSpecularLevel { get; set; }
×
88

89
                /// <summary>
90
                /// Color
91
                /// </summary>
92
                [DxfCodeValue(62, 63)]
UNCOV
93
                public Color Color { get; set; }
×
94

95
                /// <summary>
96
                /// Face style mono color
97
                /// </summary>
98
                [DxfCodeValue(421)]
UNCOV
99
                public Color FaceStyleMonoColor { get; set; }
×
100

101
                //74
102
                //Edge style model
103
                //0 = No edges
104
                //1 = Isolines
105
                //2 = Facet edges
106

107
                //91
108

109
                //Edge style
110

111
                //64
112

113
                //Edge intersection color
114

115
                //65
116

117
                //Edge obscured color
118

119
                //75
120

121
                //Edge obscured linetype
122

123
                //175
124

125
                //Edge intersection linetype
126

127
                //42
128

129
                //Edge crease angle
130

131
                //92
132

133
                //Edge modifiers
134

135
                //66
136

137
                //Edge color
138

139
                //43
140

141
                //Edge opacity level
142

143
                //76
144

145
                //Edge width
146

147
                //77
148

149
                //Edge overhang
150

151
                //78
152

153
                //Edge jitter
154

155
                //67
156

157
                //Edge silhouette color
158

159
                //79
160

161
                //Edge silhouette width
162

163
                //170
164

165
                //Edge halo gap
166

167
                //171
168

169
                //Number of edge isolines
170

171
                //174
172

173
                //Edge style apply flag
174

175
                //93
176

177
                //Display style display settings
178

179
                //44        Brightness
180

181
                //173        Shadow type
182

183
                /// <summary>
184
                /// Edge hide precision flag
185
                /// </summary>
186
                [DxfCodeValue(290)]
UNCOV
187
                public bool PrecisionFlag { get; set; }
×
188

189
                /// <summary>
190
                /// Internal use only flag
191
                /// </summary>
192
                [DxfCodeValue(291)]
UNCOV
193
                public bool InternalFlag { get; internal set; }
×
194
        }
195
}
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