Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdPsPlotStyleData.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 OdPsPlotStyleData : 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 OdPsPlotStyleData(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(OdPsPlotStyleData 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 OdPsPlotStyleData() : this(GlobalsPINVOKE.new_OdPsPlotStyleData(), true) {
53 }
54
56 get {
57 global::System.IntPtr cPtr = GlobalsPINVOKE.OdPsPlotStyleData_kDefault_get();
58 OdPsPlotStyleData ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdPsPlotStyleData(cPtr, false);
60 return ret;
61 }
62 }
63
64 public bool IsEqual(OdPsPlotStyleData other) {
67 return ret;
68 }
69
70 public bool IsNotEqual(OdPsPlotStyleData other) {
73 return ret;
74 }
75
79 return ret;
80 }
81
82 public Int16 colorPolicy() {
83// test csout
84 /*SIMPLETYPE*/
85 Int16 ret = GlobalsPINVOKE.OdPsPlotStyleData_colorPolicy(swigCPtr);
87 return ret;
88 }
89
90 public Int16 physicalPenNumber() {
91// test csout
92 /*SIMPLETYPE*/
95 return ret;
96 }
97
98 public Int16 virtualPenNumber() {
99// test csout
100 /*SIMPLETYPE*/
103 return ret;
104 }
105
106 public int screening() {
109 return ret;
110 }
111
112 public double linePatternSize() {
115 return ret;
116 }
117
121 return ret;
122 }
123
124 public bool isAdaptiveLinetype() {
127 return ret;
128 }
129
130 public bool isGrayScaleOn() {
133 return ret;
134 }
135
136 public bool isDitherOn() {
137 bool ret = GlobalsPINVOKE.OdPsPlotStyleData_isDitherOn(swigCPtr);
139 return ret;
140 }
141
142 public double lineweight() {
143 double ret = GlobalsPINVOKE.OdPsPlotStyleData_lineweight(swigCPtr);
145 return ret;
146 }
147
151 return ret;
152 }
153
157 return ret;
158 }
159
163 return ret;
164 }
165
169 }
170
171 public void setColorPolicy(Int16 /*SIMPLETYPE*/ colorPolicy) {
174 }
175
176 public void setPhysicalPenNumber(Int16 /*SIMPLETYPE*/ physicalPenNumber) {
179 }
180
181 public void setVirtualPenNumber(Int16 /*SIMPLETYPE*/ virtualPenNumber) {
184 }
185
186 public void setScreening(int screening) {
189 }
190
194 }
195
199 }
200
201 public void setAdaptiveLinetype(bool adaptiveLinetype) {
202 GlobalsPINVOKE.OdPsPlotStyleData_setAdaptiveLinetype(swigCPtr, adaptiveLinetype);
204 }
205
206 public void setGrayScaleOn(bool grayScaleOn) {
209 }
210
211 public void setDitherOn(bool ditherOn) {
214 }
215
216 public void setLineweight(double lineweight) {
219 }
220
224 }
225
226 public void setEndStyle(LineEndStyle lineEndStyle) {
227 GlobalsPINVOKE.OdPsPlotStyleData_setEndStyle(swigCPtr, (int)lineEndStyle);
229 }
230
231 public void setJoinStyle(LineJoinStyle lineJoinStyle) {
232 GlobalsPINVOKE.OdPsPlotStyleData_setJoinStyle(swigCPtr, (int)lineJoinStyle);
234 }
235
240 public Teigha.Core.FillStyle vb_fillStyle() { return this.fillStyle(); }
241
246 public Teigha.Core.LineType vb_linetype() { return this.linetype(); }
247
252 public double vb_lineweight() { return this.lineweight(); }
253
259
264 public Int16 vb_colorPolicy() { return this.colorPolicy(); }
265
266 public enum ColorPolicy {
267 kDither = 1,
268 kGrayScale = 2,
269 kNotUseObject = 4
270 }
271
272}
273
274}
static global::System.Exception Retrieve()
static int OdPsPlotStyleData_screening(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPsPlotStyleData_setJoinStyle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdPsPlotStyleData_setDitherOn(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdPsPlotStyleData_lineweight(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPsPlotStyleData_setPhysicalPenNumber(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static void OdPsPlotStyleData_setVirtualPenNumber(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static int OdPsPlotStyleData_fillStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdPsPlotStyleData_endStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPsPlotStyleData_setColorPolicy(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static bool OdPsPlotStyleData_isGrayScaleOn(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPsPlotStyleData_setLinetype(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static Int16 OdPsPlotStyleData_physicalPenNumber(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int16 OdPsPlotStyleData_virtualPenNumber(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdPsPlotStyleData_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdPsPlotStyleData_color(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPsPlotStyleData_setGrayScaleOn(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdPsPlotStyleData_setColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdPsPlotStyleData_linetype(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdPsPlotStyleData_isAdaptiveLinetype(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdPsPlotStyleData_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdPsPlotStyleData_setFillStyle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdPsPlotStyleData_setEndStyle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdPsPlotStyleData_setLinePatternSize(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr OdPsPlotStyleData_kDefault_get()
static Int16 OdPsPlotStyleData_colorPolicy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPsPlotStyleData_setAdaptiveLinetype(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdPsPlotStyleData_linePatternSize(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdPsPlotStyleData_joinStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdPsPlotStyleData_isDitherOn(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdPsPlotStyleData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPsPlotStyleData_setLineweight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdPsPlotStyleData_setScreening(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static HandleRef getCPtr(OdCmEntityColor obj)
void setLinetype(LineType linetype)
Teigha.Core.FillStyle vb_fillStyle()
void setPhysicalPenNumber(Int16 physicalPenNumber)
Teigha.Core.LineType vb_linetype()
bool IsNotEqual(OdPsPlotStyleData other)
void setVirtualPenNumber(Int16 virtualPenNumber)
void setEndStyle(LineEndStyle lineEndStyle)
OdPsPlotStyleData(IntPtr cPtr, bool cMemoryOwn)
void setColorPolicy(Int16 colorPolicy)
virtual void Dispose(bool disposing)
void setJoinStyle(LineJoinStyle lineJoinStyle)
void setLineweight(double lineweight)
void setScreening(int screening)
void setAdaptiveLinetype(bool adaptiveLinetype)
void setFillStyle(FillStyle fillStyle)
void setLinePatternSize(double linePatternSize)
void setColor(OdCmEntityColor color)
static OdPsPlotStyleData kDefault
static HandleRef getCPtr(OdPsPlotStyleData obj)
Teigha.Core.LineJoinStyle vb_joinStyle()
void setGrayScaleOn(bool grayScaleOn)
bool IsEqual(OdPsPlotStyleData other)