Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgLineStyleInfo.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDgLineStyleInfo : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdDgLineStyleInfo(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdDgLineStyleInfo obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public OdDgLineStyleInfo() : this(TG_DbPINVOKE.new_OdDgLineStyleInfo__SWIG_0(), true) {
54 }
55
56 public OdDgLineStyleInfo(UInt32 /*SIMPLETYPE*/ uModifiers, double dScale, double dShift, double dStartWidth, double dEndWidth) : this(TG_DbPINVOKE.new_OdDgLineStyleInfo__SWIG_1(uModifiers /*SIMPLETYPE*/, dScale, dShift, dStartWidth, dEndWidth), true) {
58 }
59
60 public virtual UInt32 getModifiers() {
61// test csout
62 /*SIMPLETYPE*/
63 UInt32 ret = TG_DbPINVOKE.OdDgLineStyleInfo_getModifiers(swigCPtr);
65 return ret;
66 }
67
68 public virtual void setModifiers(UInt32 /*SIMPLETYPE*/ modifiers) {
69 TG_DbPINVOKE.OdDgLineStyleInfo_setModifiers(swigCPtr, modifiers /*SIMPLETYPE*/);
71 }
72
73 public virtual double getScale() {
74 double ret = TG_DbPINVOKE.OdDgLineStyleInfo_getScale(swigCPtr);
76 return ret;
77 }
78
79 public virtual void setScale(double scale) {
82 }
83
84 public virtual double getShift() {
85 double ret = TG_DbPINVOKE.OdDgLineStyleInfo_getShift(swigCPtr);
87 return ret;
88 }
89
90 public virtual void setShift(double shift) {
93 }
94
95 public virtual double getStartWidth() {
96 double ret = TG_DbPINVOKE.OdDgLineStyleInfo_getStartWidth(swigCPtr);
98 return ret;
99 }
100
101 public virtual void setStartWidth(double startWidth) {
102 TG_DbPINVOKE.OdDgLineStyleInfo_setStartWidth(swigCPtr, startWidth);
104 }
105
106 public virtual double getEndWidth() {
107 double ret = TG_DbPINVOKE.OdDgLineStyleInfo_getEndWidth(swigCPtr);
109 return ret;
110 }
111
112 public virtual void setEndWidth(double endWidth) {
115 }
116
117}
118
119}
OdDgLineStyleInfo(IntPtr cPtr, bool cMemoryOwn)
virtual void setStartWidth(double startWidth)
virtual void setModifiers(UInt32 modifiers)
virtual void Dispose(bool disposing)
virtual void setShift(double shift)
virtual void setEndWidth(double endWidth)
static HandleRef getCPtr(OdDgLineStyleInfo obj)
OdDgLineStyleInfo(UInt32 uModifiers, double dScale, double dShift, double dStartWidth, double dEndWidth)
virtual void setScale(double scale)
static global::System.Exception Retrieve()
static void OdDgLineStyleInfo_setEndWidth(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static UInt32 OdDgLineStyleInfo_getModifiers(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgLineStyleInfo_setStartWidth(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdDgLineStyleInfo_getEndWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgLineStyleInfo_setScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgLineStyleInfo_setShift(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdDgLineStyleInfo_getStartWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDgLineStyleInfo(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgLineStyleInfo_getScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgLineStyleInfo_getShift(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgLineStyleInfo_setModifiers(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)