Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGiSelectionStyle.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGiSelectionStyle : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGiSelectionStyle(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGiSelectionStyle obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public class ColorMask : global::System.IDisposable {
52 private Object locker = new Object();
53 private HandleRef swigCPtr;
54 protected bool swigCMemOwn;
55 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
56 public ColorMask(IntPtr cPtr, bool cMemoryOwn) {
57 swigCMemOwn = cMemoryOwn;
58 swigCPtr = new HandleRef(this, cPtr);
59 }
60 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
61 public static HandleRef getCPtr(ColorMask obj) {
62 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
63 }
64
65 ~ColorMask() {
66 Dispose(false);
67 }
68
69 public void Dispose() {
70 Dispose(true);
71 global::System.GC.SuppressFinalize(this);
72 }
73
74 protected virtual void Dispose(bool disposing) {
75 lock(this) {
76 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
77 if (swigCMemOwn) {
78 swigCMemOwn = false;
79 GlobalsPINVOKE.delete_OdGiSelectionStyle_ColorMask(swigCPtr); // NESTED_DTOR_CSHARP
80 }
81 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
82 }
83 }
84 }
85
86 public ColorMask() : this(GlobalsPINVOKE.new_OdGiSelectionStyle_ColorMask(), true) {
88 }
89
94
100
105
106 public byte transparency() {
107 // test csout
108 /*SIMPLETYPE*/
111 return ret;
112 }
113
118
124
130
135
141
147
148 }
149
150 public class ElementStyle : global::System.IDisposable {
151 private Object locker = new Object();
152 private HandleRef swigCPtr;
153 protected bool swigCMemOwn;
154 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
155 public ElementStyle(IntPtr cPtr, bool cMemoryOwn) {
156 swigCMemOwn = cMemoryOwn;
157 swigCPtr = new HandleRef(this, cPtr);
158 }
159 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
160 public static HandleRef getCPtr(ElementStyle obj) {
161 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
162 }
163
164 ~ElementStyle() {
165 Dispose(false);
166 }
167
168 public void Dispose() {
169 Dispose(true);
170 global::System.GC.SuppressFinalize(this);
171 }
172
173 protected virtual void Dispose(bool disposing) {
174 lock(this) {
175 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
176 if (swigCMemOwn) {
177 swigCMemOwn = false;
178 GlobalsPINVOKE.delete_OdGiSelectionStyle_ElementStyle(swigCPtr); // NESTED_DTOR_CSHARP
179 }
180 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
181 }
182 }
183 }
184
185 public ElementStyle() : this(GlobalsPINVOKE.new_OdGiSelectionStyle_ElementStyle(), true) {
187 }
188
193
199
204
210
215
221
227
233
239
244
249
254
259
265
271
277
278 }
279
281 private Object locker = new Object();
282 private HandleRef swigCPtr;
283 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
284 public EdgeStyle(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiSelectionStyle_EdgeStyle_SWIGUpcast(cPtr), cMemoryOwn) {
285 swigCPtr = new HandleRef(this, cPtr);
286 }
287
288 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
289 public static HandleRef getCPtr(EdgeStyle obj) {
290 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
291 }
292
293 protected override void Dispose(bool disposing) {
294 lock(this) {
295 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
296 if (swigCMemOwn) {
297 swigCMemOwn = false;
299 }
300 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
301 }
302 base.Dispose(disposing);
303 }
304 }
305
306 public EdgeStyle() : this(GlobalsPINVOKE.new_OdGiSelectionStyle_EdgeStyle(), true) {
308 }
309
314
320
325
326 public Int32 lineWeightExtension() {
327 // test csout
328 /*SIMPLETYPE*/
331 return ret;
332 }
333
339
345
350
355
360
365
371
377
383
389
390 public enum Mode {
394 }
395
396 }
397
398 public class StyleEntry : global::System.IDisposable {
399 private Object locker = new Object();
400 private HandleRef swigCPtr;
401 protected bool swigCMemOwn;
402 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
403 public StyleEntry(IntPtr cPtr, bool cMemoryOwn) {
404 swigCMemOwn = cMemoryOwn;
405 swigCPtr = new HandleRef(this, cPtr);
406 }
407 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
408 public static HandleRef getCPtr(StyleEntry obj) {
409 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
410 }
411
412 ~StyleEntry() {
413 Dispose(false);
414 }
415
416 public void Dispose() {
417 Dispose(true);
418 global::System.GC.SuppressFinalize(this);
419 }
420
421 protected virtual void Dispose(bool disposing) {
422 lock(this) {
423 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
424 if (swigCMemOwn) {
425 swigCMemOwn = false;
426 GlobalsPINVOKE.delete_OdGiSelectionStyle_StyleEntry(swigCPtr); // NESTED_DTOR_CSHARP
427 }
428 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
429 }
430 }
431 }
432
438
444
450
456
462
467
472
477
482
487
493
499
505
506 public StyleEntry() : this(GlobalsPINVOKE.new_OdGiSelectionStyle_StyleEntry(), true) {
508 }
509
510 }
511
512 public OdGiSelectionStyle() : this(GlobalsPINVOKE.new_OdGiSelectionStyle(), true) {
514 }
515
521
527
533
538
543
548
553
558
563
569
574
579
584
589
590}
591
592}
static global::System.Exception Retrieve()
static bool OdGiSelectionStyle_ColorMask_isOpaque(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_EdgeStyle_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSelectionStyle_EdgeStyle_setLineWeightExtension(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static global::System.IntPtr OdGiSelectionStyle_StyleEntry_edgeStyle__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ElementStyle_setVisible(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiSelectionStyle_ElementStyle_setForStippling(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ElementStyle_enablePattern(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_OdGiSelectionStyle_StyleEntry(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_StyleEntry_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiSelectionStyle_styleFor__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3)
static Int32 OdGiSelectionStyle_EdgeStyle_lineWeightExtension(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_EdgeStyle_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSelectionStyle_StyleEntry_setForStippling(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_StyleEntry_isOnTopOfDepth(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_setForStippling(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiSelectionStyle_EdgeStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ColorMask_setColor__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiSelectionStyle_ElementStyle_hasEffect(global::System.Runtime.InteropServices.HandleRef jarg1)
static byte OdGiSelectionStyle_ColorMask_transparency(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ElementStyle_setAsDisabled(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_exchangeTopBottom__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiSelectionStyle_EdgeStyle_setAsDisabled(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_ColorMask_isVisible(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ElementStyle_enableColorMasking(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGiSelectionStyle_ColorMask_color(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_EdgeStyle_setByDefault(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_exchangeTopBottom__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_EdgeStyle_setForColorMasking(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_StyleEntry_isVisible(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_EdgeStyle_hasLineWeightExtension(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ColorMask_setTransparency(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2)
static bool OdGiSelectionStyle_ElementStyle_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiSelectionStyle_ColorMask_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSelectionStyle_sync2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ColorMask_reset(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_setForColorMasking(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_isOnTopOfDepth(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_StyleEntry_setByDefault(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_ElementStyle_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiSelectionStyle_setByDefault(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_exchangeTopBottom__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, bool jarg3)
static void OdGiSelectionStyle_StyleEntry_setAsDisabled(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiSelectionStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_StyleEntry_setForColorMasking__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, byte jarg3)
static void OdGiSelectionStyle_ElementStyle_setByDefault(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSelectionStyle_styleFor__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiSelectionStyle_ElementStyle_isVisible(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiSelectionStyle_EdgeStyle_mode(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_StyleEntry_hasEffect(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ElementStyle_setForColorMasking(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiSelectionStyle_ColorMask(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_ElementStyle_isPatternEnabled(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiSelectionStyle_ElementStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_setOnTopOfDepth(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdGiSelectionStyle_EdgeStyle_hasEffect(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_setAsDisabled(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_StyleEntry_setForColorMasking__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_ElementStyle_isColorMaskingEnabled(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_ColorMask_setColor__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, byte jarg3)
static void OdGiSelectionStyle_EdgeStyle_setMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGiSelectionStyle_ColorMask_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiSelectionStyle_styleFor__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_EdgeStyle_setForStippling(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSelectionStyle_ElementStyle_colorMask__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSelectionStyle_StyleEntry_faceStyle__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSelectionStyle_sync3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_ElementStyle_isOnTopOfDepth(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiSelectionStyle_StyleEntry_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdCmEntityColor obj)
ColorMask(IntPtr cPtr, bool cMemoryOwn)
bool IsEqual(OdGiSelectionStyle.ColorMask cm2)
bool IsNotEqual(OdGiSelectionStyle.ColorMask cm2)
void setColor(OdCmEntityColor color, byte transparency)
static HandleRef getCPtr(ColorMask obj)
void setMode(OdGiSelectionStyle.EdgeStyle.Mode edgeMode)
static HandleRef getCPtr(EdgeStyle obj)
OdGiSelectionStyle.EdgeStyle.Mode mode()
Teigha.Core.OdGiSelectionStyle.EdgeStyle.Mode vb_mode()
void setLineWeightExtension(Int32 nLwdExtension)
EdgeStyle(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGiSelectionStyle.ColorMask vb_colorMask()
bool IsNotEqual(OdGiSelectionStyle.EdgeStyle secStyle)
bool IsEqual(OdGiSelectionStyle.EdgeStyle secStyle)
bool IsNotEqual(OdGiSelectionStyle.ElementStyle secStyle)
static HandleRef getCPtr(ElementStyle obj)
bool IsEqual(OdGiSelectionStyle.ElementStyle secStyle)
Teigha.Core.OdGiSelectionStyle.ColorMask vb_colorMask()
bool IsEqual(OdGiSelectionStyle.StyleEntry secStyle)
bool isVisible()
OdGiSelectionStyle.ElementStyle faceStyle()
bool IsNotEqual(OdGiSelectionStyle.StyleEntry secStyle)
void Dispose()
bool hasEffect()
void setAsDisabled()
StyleEntry(IntPtr cPtr, bool cMemoryOwn)
void setForColorMasking(OdCmEntityColor color, byte transparency)
void setByDefault()
OdGiSelectionStyle.EdgeStyle edgeStyle()
bool isOnTopOfDepth()
bool swigCMemOwn
void setForStippling()
static HandleRef getCPtr(StyleEntry obj)
StyleEntry()
Teigha.Core.OdGiSelectionStyle.EdgeStyle vb_edgeStyle()
virtual void Dispose(bool disposing)
void setForColorMasking()
static HandleRef getCPtr(OdGiSelectionStyle obj)
OdGiSelectionStyle.StyleEntry styleFor()
OdGiSelectionStyle.StyleEntry styleFor(bool bDrawOnTop, bool bDrawIn3d)
void exchangeTopBottom(bool bFor2d, bool bFor3d)
OdGiSelectionStyle(IntPtr cPtr, bool cMemoryOwn)
virtual void Dispose(bool disposing)
OdGiSelectionStyle.StyleEntry styleFor(bool bDrawOnTop)