Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDbLSStroke.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbLSStroke : 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 OdDbLSStroke(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(OdDbLSStroke 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 OdDbLSStroke() : this(TD_DbPINVOKE.new_OdDbLSStroke(), true) {
54 }
55
56 public bool isDash() {
57 bool ret = TD_DbPINVOKE.OdDbLSStroke_isDash(swigCPtr);
59 return ret;
60 }
61
62 public bool isGap() {
63 bool ret = TD_DbPINVOKE.OdDbLSStroke_isGap(swigCPtr);
65 return ret;
66 }
67
72
77
82
83 public bool bypassCorner() {
84 bool ret = TD_DbPINVOKE.OdDbLSStroke_bypassCorner(swigCPtr);
86 return ret;
87 }
88
93
94 public bool canBeScaled() {
95 bool ret = TD_DbPINVOKE.OdDbLSStroke_canBeScaled(swigCPtr);
97 return ret;
98 }
99
104
105 public bool invertAtOrigin() {
106 bool ret = TD_DbPINVOKE.OdDbLSStroke_invertAtOrigin(swigCPtr);
108 return ret;
109 }
110
115
116 public bool invertAtEnd() {
117 bool ret = TD_DbPINVOKE.OdDbLSStroke_invertAtEnd(swigCPtr);
119 return ret;
120 }
121
126
127 public double length() {
128 double ret = TD_DbPINVOKE.OdDbLSStroke_length(swigCPtr);
130 return ret;
131 }
132
137
138 public double startWidth() {
139 double ret = TD_DbPINVOKE.OdDbLSStroke_startWidth(swigCPtr);
141 return ret;
142 }
143
148
149 public double endWidth() {
150 double ret = TD_DbPINVOKE.OdDbLSStroke_endWidth(swigCPtr);
152 return ret;
153 }
154
159
165
170
176
181
187
193
194 public enum WidthMode {
195 kLSNoWidth = 0,
196 kLSWidthLeft = 1,
197 kLSWidthRight = 2,
198 kLSWidthFull = 3
199 }
200
201 public enum CapMode {
202 kLSCapsClosed = 0,
203 kLSCapsOpen = 1,
204 kLSCapsExtended = 2,
205 kLSCapsHexagon = 3,
206 kLSCapsOctagon = 4,
207 kLSCapsDecagon = 5,
208 kLSCapsArc = 30
209 }
210
211}
212
213}
OdDbLSStroke(IntPtr cPtr, bool cMemoryOwn)
void setInvertAtEnd(bool bSet)
OdDbLSStroke.WidthMode widthMode()
Teigha.TD.OdDbLSStroke.WidthMode vb_widthMode()
void setLength(double fLen)
void setIsDash(bool bSet)
void setCapMode(OdDbLSStroke.CapMode mode)
static HandleRef getCPtr(OdDbLSStroke obj)
void setEndWidth(double fWidth)
void setStartWidth(double fWidth)
void setInvertAtOrigin(bool bSet)
void setBypassCorner(bool bSet)
void setWidthMode(OdDbLSStroke.WidthMode mode)
virtual void Dispose(bool disposing)
OdDbLSStroke.CapMode capMode()
Teigha.TD.OdDbLSStroke.CapMode vb_capMode()
void setCanBeScaled(bool bSet)
static global::System.Exception Retrieve()
static int OdDbLSStroke_capMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbLSStroke_isDash(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDbLSStroke(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSStroke_setInvertAtEnd(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbLSStroke_setDash(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSStroke_setGap(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSStroke_setBypassCorner(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbLSStroke_setCanBeScaled(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDbLSStroke_canBeScaled(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSStroke_setStartWidth(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDbLSStroke_setCapMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDbLSStroke_isGap(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbLSStroke_length(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbLSStroke_endWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDbLSStroke_startWidth(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSStroke_setWidthMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDbLSStroke_setLength(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDbLSStroke_invertAtEnd(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbLSStroke_bypassCorner(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbLSStroke_widthMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbLSStroke_invertAtOrigin(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbLSStroke_setInvertAtOrigin(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDbLSStroke_setEndWidth(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDbLSStroke_setIsDash(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)