-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmapscript.styleObj.html
More file actions
444 lines (363 loc) · 40.2 KB
/
mapscript.styleObj.html
File metadata and controls
444 lines (363 loc) · 40.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!DOCTYPE html>
<html lang="tr" data-content_root="../../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>mapscript.styleObj — MapServer 8.6.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx.css?v=48f05237" />
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx_collapse.css?v=226d88b4" />
<link rel="stylesheet" type="text/css" href="../../../_static/custom.css?v=dd298242" />
<link rel="stylesheet" type="text/css" href="../../../_static/ribbon.css?v=ea091bf4" />
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../../_static/documentation_options.js?v=a1691991"></script>
<script src="../../../_static/doctools.js?v=fd6eb6e6"></script>
<script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../../_static/copybutton.js?v=f281be69"></script>
<script src="../../../_static/translations.js?v=b0f24d8d"></script>
<link rel="icon" href="../../../_static/mapserver.ico"/>
<link rel="author" title="Bu belgeler hakkında" href="../../../about.html" />
<link rel="index" title="Dizin" href="../../../genindex.html" />
<link rel="search" title="Ara" href="../../../search.html" />
<link rel="copyright" title="Telif hakkı" href="../../../copyright.html" />
<link rel="next" title="mapscript.symbolObj" href="mapscript.symbolObj.html" />
<link rel="prev" title="mapscript.shapefileObj" href="mapscript.shapefileObj.html" />
</head><body>
<!-- for main branch only, do not backport this -->
<table width="100%" style="width: 100%; background-color: white;">
<tr>
<td rowspan="2" style="padding: 10px 0px 10px 10px;">
<a href="../../../index.html" title="Home"><img src="../../../_static/banner.png" alt="MapServer banner" border="0" /></a>
</td>
<td style="padding: 10px 10px 0px 0px; text-align: right; vertical-align: top;">
<a href="../../../index.html" title="Home">Home</a> |
<a href="../../../products.html" title="Products (MapServer core, MapCache, TinyOWS">Products</a> |
<a href="https://github.com/mapserver/mapserver/issues/" title="Issue Tracker (MapServer core)">Issue Tracker</a> |
<a href="../../../community/service_providers.html" title="Professional Service Providers">Service Providers</a> |
<a href="../../../faq.html" title="Frequently Asked Questions">FAQ</a> |
<a href="https://fosstodon.org/@mapserver" title="Mastodon" target="_blank">Mastodon</a> |
<a href="../../../download.html" title="Download Source or Binaries">Download </a> |
<a class="badge" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KRJ2X44N3HA6U&source=url" target="_blank">
<img src="https://img.shields.io/badge/donate-%E2%9D%A4%C2%A0-ff69b4.svg?style=flat" alt="Donate to MapServer">
</a>
</td>
</tr>
<tr>
<td style="padding: 0px 10px 0px 0px; text-align: right; vertical-align: bottom;">
<a href="../../../../mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/en.png" alt="en" title="en" border="0" /></a>
<a href="../../../../ar/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/ar.png" alt="ar" title="ar" border="0" /></a>
<a href="../../../../de/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/de.png" alt="de" title="de" border="0" /></a>
<a href="../../../../el/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/el.png" alt="el" title="el" border="0" /></a>
<a href="../../../../es/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/es.png" alt="es" title="es" border="0" /></a>
<a href="../../../../fr/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/fr.png" alt="fr" title="fr" border="0" /></a>
<a href="../../../../id/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/id.png" alt="id" title="id" border="0" /></a>
<a href="../../../../it/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/it.png" alt="it" title="it" border="0" /></a>
<a href="../../../../ja/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/ja.png" alt="ja" title="ja" border="0" /></a>
<a href="../../../../nl_NL/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/nl_NL.png" alt="nl_NL" title="nl_NL" border="0" /></a>
<a href="../../../../pl/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/pl.png" alt="pl" title="pl" border="0" /></a>
<a href="../../../../ru/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/ru.png" alt="ru" title="ru" border="0" /></a>
<a href="../../../../sq/mapscript/mapscript-api/stub/mapscript.styleObj.html"><img src="../../../_static/flagicons/sq.png" alt="sq" title="sq" border="0" /></a>
<img src="../../../_static/flagicons/tr.png" alt="tr" title="tr" border="0" width="18px" height="13px"/>
</td>
</tr>
</table>
<div class="related" role="navigation" aria-label="Related">
<h3>Gezinti</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../../../genindex.html" title="Genel Dizin"
accesskey="I">dizin</a></li>
<li class="right" >
<a href="mapscript.symbolObj.html" title="mapscript.symbolObj"
accesskey="N">sonraki</a> |</li>
<li class="right" >
<a href="mapscript.shapefileObj.html" title="mapscript.shapefileObj"
accesskey="P">önceki</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">Home</a> »</li>
<li class="nav-item nav-item-1"><a href="../../../documentation.html" >MapServer 8.6.2 Documentation</a> »</li>
<li class="nav-item nav-item-2"><a href="../../index.html" >MapScript</a> »</li>
<li class="nav-item nav-item-3"><a href="../index.html" accesskey="U">SWIG MapScript API Reference</a> »</li>
<li class="nav-item nav-item-this"><a href="">mapscript.styleObj</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="mapscript-styleobj">
<h1>mapscript.styleObj<a class="headerlink" href="#mapscript-styleobj" title="Link to this heading">¶</a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="mapscript.styleObj">
<span class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></span><span class="sig-prename descclassname"><span class="pre">mapscript.</span></span><span class="sig-name descname"><span class="pre">styleObj</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parent_class</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="mapscript.classObj.html#mapscript.classObj" title="mapscript.classObj"><span class="pre">classObj</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#mapscript.styleObj" title="Link to this definition">¶</a></dt>
<dd><p>The <a class="reference internal" href="../../../mapfile/style.html#style"><span class="std std-ref">STYLE</span></a> object. An instance of styleObj is associated with one
instance of <a class="reference internal" href="mapscript.classObj.html#mapscript.classObj" title="mapscript.classObj"><code class="xref py py-class docutils literal notranslate"><span class="pre">classObj</span></code></a>.</p>
<p class="rubric">Overview</p>
<p>The styleObj has the following relationships:</p>
<img alt="../../../_images/styleObj_classObj.png" src="../../../_images/styleObj_classObj.png" />
<p class="rubric">Attributes</p>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">angle</span></code></p></td>
<td><p><strong>double</strong> Angle, given in degrees, to draw the line work, default is 0, for symbols of Type HATCH, this is the angle of the hatched lines - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-angle"><span class="std std-ref">ANGLE</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">antialiased</span></code></p></td>
<td><p><strong>int</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-antialias"><span class="std std-ref">ANTIALIAS</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">autoangle</span></code></p></td>
<td><p><strong>int</strong> If the angle is set to <code class="docutils literal notranslate"><span class="pre">AUTO</span></code> - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-angle"><span class="std std-ref">ANGLE</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">color</span></code></p></td>
<td><p><a class="reference internal" href="mapscript.colorObj.html#mapscript.colorObj" title="mapscript.colorObj"><code class="xref py py-class docutils literal notranslate"><span class="pre">colorObj</span></code></a> Foreground or fill pen color - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-color"><span class="std std-ref">COLOR</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">gap</span></code></p></td>
<td><p><strong>double</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-gap"><span class="std std-ref">GAP</span></a> - moved from symbolObj in version 6.0</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">initialgap</span></code></p></td>
<td><p><strong>double</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-initialgap"><span class="std std-ref">INITIALGAP</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">linecap</span></code></p></td>
<td><p><strong>int</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-linecap"><span class="std std-ref">LINECAP</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">linejoin</span></code></p></td>
<td><p><strong>int</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-linejoin"><span class="std std-ref">LINEJOIN</span></a> - moved from symbolObj in version 6.0</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">linejoinmaxsize</span></code></p></td>
<td><p><strong>double</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-linejoinmaxsize"><span class="std std-ref">LINEJOINMAXSIZE</span></a> - moved from symbolObj in version 6.0</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">maxcolor</span></code></p></td>
<td><p><a class="reference internal" href="mapscript.colorObj.html#mapscript.colorObj" title="mapscript.colorObj"><code class="xref py py-class docutils literal notranslate"><span class="pre">colorObj</span></code></a> Maximum color in the <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-colorrange"><span class="std std-ref">COLORRANGE</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">maxscaledenom</span></code></p></td>
<td><p><strong>double</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-maxscaledenom"><span class="std std-ref">MAXSCALEDENOM</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">maxsize</span></code></p></td>
<td><p><strong>double</strong> Maximum pen or symbol width for scaling - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-maxsize"><span class="std std-ref">MAXSIZE</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">maxvalue</span></code></p></td>
<td><p><strong>double</strong> related to color ranges</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">maxwidth</span></code></p></td>
<td><p><strong>double</strong> Maximum width of the symbol - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-maxwidth"><span class="std std-ref">MAXWIDTH</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">mincolor</span></code></p></td>
<td><p><a class="reference internal" href="mapscript.colorObj.html#mapscript.colorObj" title="mapscript.colorObj"><code class="xref py py-class docutils literal notranslate"><span class="pre">colorObj</span></code></a> Minimum color in the <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-colorrange"><span class="std std-ref">COLORRANGE</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">minscaledenom</span></code></p></td>
<td><p><strong>double</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-minscaledenom"><span class="std std-ref">MINSCALEDENOM</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">minsize</span></code></p></td>
<td><p><strong>double</strong> Minimum pen or symbol width for scaling styles - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-minsize"><span class="std std-ref">MINSIZE</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">minvalue</span></code></p></td>
<td><p><strong>double</strong> related to color ranges</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">minwidth</span></code></p></td>
<td><p><strong>double</strong> Minimum width of the symbol - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-minwidth"><span class="std std-ref">MINWIDTH</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">offsetx</span></code></p></td>
<td><p><strong>double</strong> Draw with pen or symbol offset from map data, for shadows, hollow symbols, etc - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-offset"><span class="std std-ref">OFFSET</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">offsety</span></code></p></td>
<td><p><strong>double</strong> Draw with pen or symbol offset from map data, for shadows, hollow symbols, etc - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-offset"><span class="std std-ref">OFFSET</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">opacity</span></code></p></td>
<td><p><strong>int</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-opacity"><span class="std std-ref">OPACITY</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">outlinecolor</span></code></p></td>
<td><p><a class="reference internal" href="mapscript.colorObj.html#mapscript.colorObj" title="mapscript.colorObj"><code class="xref py py-class docutils literal notranslate"><span class="pre">colorObj</span></code></a> Outline pen color - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-outlinecolor"><span class="std std-ref">OUTLINECOLOR</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">outlinewidth</span></code></p></td>
<td><p><strong>double</strong> See <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-outlinewidth"><span class="std std-ref">OUTLINEWIDTH</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">pattern</span></code></p></td>
<td><p>pattern : list <strong>Python Only</strong></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">patternlength</span></code></p></td>
<td><p><strong>int</strong> <em>immutable</em> Number of elements in the pattern attribute</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">polaroffsetangle</span></code></p></td>
<td><p><strong>double</strong> Specified the angle - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-polaroffset"><span class="std std-ref">POLAROFFSET</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">polaroffsetpixel</span></code></p></td>
<td><p><strong>double</strong> Specifies the radius/distance - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-polaroffset"><span class="std std-ref">POLAROFFSET</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">rangeitem</span></code></p></td>
<td><p><strong>char</strong> Attribute/field that stores the values for the Color Range Mapping - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-rangeitem"><span class="std std-ref">RANGEITEM</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">rangeitemindex</span></code></p></td>
<td><p><strong>int</strong> The index of the range item - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-rangeitem"><span class="std std-ref">RANGEITEM</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">refcount</span></code></p></td>
<td><p><strong>int</strong> <em>immutable</em> number of references to this object</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">size</span></code></p></td>
<td><p><strong>double</strong> Pixel width of the style's pen or symbol - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-size"><span class="std std-ref">SIZE</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sizeunits</span></code></p></td>
<td><p><strong>int</strong> Supersedes class's <a class="reference internal" href="../../../mapfile/layer.html#mapfile-layer-sizeunits"><span class="std std-ref">SIZEUNITS</span></a> to allow fine-grained sizing for improved SLD (RFC 124)</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">symbol</span></code></p></td>
<td><p><strong>int</strong> The index within the map symbolset of the style's symbol - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-symbol"><span class="std std-ref">SYMBOL</span></a></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">symbolname</span></code></p></td>
<td><p><strong>char</strong> <em>immutable</em> Name of the style's symbol - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-symbol"><span class="std std-ref">symbolname</span></a></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">thisown</span></code></p></td>
<td><p>The membership flag</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">width</span></code></p></td>
<td><p><strong>double</strong> Width refers to the thickness of line work drawn, in pixels - default is 1, for symbols of type <code class="docutils literal notranslate"><span class="pre">HATCH</span></code>, the with is how thick the hatched lines are - see <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-width"><span class="std std-ref">WIDTH</span></a></p></td>
</tr>
</tbody>
</table>
<p class="rubric">Methods</p>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parent_class</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="mapscript.classObj.html#mapscript.classObj" title="mapscript.classObj"><span class="pre">classObj</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.__init__"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.__init__" title="Link to this definition">¶</a></dt>
<dd><p>Returns new default <a class="reference internal" href="#mapscript.styleObj" title="mapscript.styleObj"><code class="xref py py-class docutils literal notranslate"><span class="pre">styleObj</span></code></a> instance. The <code class="docutils literal notranslate"><span class="pre">parent_class</span></code> is optional.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.clone">
<span class="sig-name descname"><span class="pre">clone</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference internal" href="#mapscript.styleObj" title="mapscript.styleObj"><span class="pre">styleObj</span></a></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.clone"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.clone" title="Link to this definition">¶</a></dt>
<dd><p>Return an independent copy of the style with no parent class.</p>
<div class="admonition note">
<p class="admonition-title">Not</p>
<p>In the Java & PHP modules this method is named <code class="docutils literal notranslate"><span class="pre">cloneStyle</span></code>.</p>
</div>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.convertToString">
<span class="sig-name descname"><span class="pre">convertToString</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">char</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.convertToString"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.convertToString" title="Link to this definition">¶</a></dt>
<dd><p>Saves the object to a string. Provides the inverse option for <a class="reference internal" href="#mapscript.styleObj.updateFromString" title="mapscript.styleObj.updateFromString"><code class="xref py py-func docutils literal notranslate"><span class="pre">styleObj.updateFromString()</span></code></a></p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.getBinding">
<span class="sig-name descname"><span class="pre">getBinding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">binding</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">char</span> <span class="pre">const</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.getBinding"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.getBinding" title="Link to this definition">¶</a></dt>
<dd><p>Get the attribute binding for a specified style property.
Returns NULL if there is no binding for this property.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.getGeomTransform">
<span class="sig-name descname"><span class="pre">getGeomTransform</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">char</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.getGeomTransform"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.getGeomTransform" title="Link to this definition">¶</a></dt>
<dd><p>Get the <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-geomtransform"><span class="std std-ref">GEOMTRANSFORM</span></a> for the style.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.pattern_get">
<span class="sig-name descname"><span class="pre">pattern_get</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">void</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.pattern_get"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.pattern_get" title="Link to this definition">¶</a></dt>
<dd><p>Python Only** Get the pattern for the style.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.pattern_set">
<span class="sig-name descname"><span class="pre">pattern_set</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">nListSize</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">void</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.pattern_set"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.pattern_set" title="Link to this definition">¶</a></dt>
<dd><p>Python Only** Set the pattern for the style.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.removeBinding">
<span class="sig-name descname"><span class="pre">removeBinding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">binding</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">int</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.removeBinding"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.removeBinding" title="Link to this definition">¶</a></dt>
<dd><p>Remove the attribute binding for a specified style property.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.setBinding">
<span class="sig-name descname"><span class="pre">setBinding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">binding</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">item</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">char</span> <span class="pre">const</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">int</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.setBinding"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.setBinding" title="Link to this definition">¶</a></dt>
<dd><p>Remove the attribute binding for a specified style property.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.setGeomTransform">
<span class="sig-name descname"><span class="pre">setGeomTransform</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">transform</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">char</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">void</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.setGeomTransform"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.setGeomTransform" title="Link to this definition">¶</a></dt>
<dd><p>Set the <a class="reference internal" href="../../../mapfile/style.html#mapfile-style-geomtransform"><span class="std std-ref">GEOMTRANSFORM</span></a> for the style.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.setSymbolByName">
<span class="sig-name descname"><span class="pre">setSymbolByName</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">map</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="mapscript.mapObj.html#mapscript.mapObj" title="mapscript.mapObj"><span class="pre">mapObj</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">symbolname</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">char</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">int</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.setSymbolByName"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.setSymbolByName" title="Link to this definition">¶</a></dt>
<dd><p>Setting the symbol of the <a class="reference internal" href="#mapscript.styleObj" title="mapscript.styleObj"><code class="xref py py-class docutils literal notranslate"><span class="pre">styleObj</span></code></a> given the reference of the map
object and the symbol name.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="mapscript.styleObj.updateFromString">
<span class="sig-name descname"><span class="pre">updateFromString</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">snippet</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">char</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">int</span></span></span><a class="reference internal" href="../../../_modules/mapscript/mapscript.html#styleObj.updateFromString"><span class="viewcode-link"><span class="pre">[kaynak]</span></span></a><a class="headerlink" href="#mapscript.styleObj.updateFromString" title="Link to this definition">¶</a></dt>
<dd><p>Update a style from a string snippet.
Returns <a class="reference internal" href="../index.html#mapscript.MS_SUCCESS" title="mapscript.MS_SUCCESS"><code class="xref py py-data docutils literal notranslate"><span class="pre">MS_SUCCESS</span></code></a> or <a class="reference internal" href="../index.html#mapscript.MS_FAILURE" title="mapscript.MS_FAILURE"><code class="xref py py-data docutils literal notranslate"><span class="pre">MS_FAILURE</span></code></a></p>
</dd></dl>
</dd></dl>
</section>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Hızlı Arama</h3>
<div class="searchformwrapper">
<form class="search" action="../../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Git" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
<p>
<a href="../../../about.html" title="About">About</a><br>
<a href="../../../products.html" title="Products">Products</a><br>
<a href="../../../community/index.html" title="Community">Community</a><br>
<a href="../../../development/index.html" title="Development">Development</a><br>
<a href="../../../download.html" title="Downloads">Downloads</a><br>
<a href="../../../documentation.html" title="Documentation">Documentation</a><br>
<a href="../../../faq.html" title="FAQ">FAQ</a><br>
<a href="../../../psc.html" title="PSC">PSC</a><br>
<a href="https://fosstodon.org/@mapserver" title="Mastodon">Mastodon</a>
</p>
<h3>Current Table Of Contents</h3>
<ul>
<li><a class="reference internal" href="#">mapscript.styleObj</a><ul>
<li><a class="reference internal" href="#mapscript.styleObj"><code class="docutils literal notranslate"><span class="pre">styleObj</span></code></a><ul>
<li><a class="reference internal" href="#mapscript.styleObj.__init__"><code class="docutils literal notranslate"><span class="pre">styleObj.__init__()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.clone"><code class="docutils literal notranslate"><span class="pre">styleObj.clone()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.convertToString"><code class="docutils literal notranslate"><span class="pre">styleObj.convertToString()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.getBinding"><code class="docutils literal notranslate"><span class="pre">styleObj.getBinding()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.getGeomTransform"><code class="docutils literal notranslate"><span class="pre">styleObj.getGeomTransform()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.pattern_get"><code class="docutils literal notranslate"><span class="pre">styleObj.pattern_get()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.pattern_set"><code class="docutils literal notranslate"><span class="pre">styleObj.pattern_set()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.removeBinding"><code class="docutils literal notranslate"><span class="pre">styleObj.removeBinding()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.setBinding"><code class="docutils literal notranslate"><span class="pre">styleObj.setBinding()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.setGeomTransform"><code class="docutils literal notranslate"><span class="pre">styleObj.setGeomTransform()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.setSymbolByName"><code class="docutils literal notranslate"><span class="pre">styleObj.setSymbolByName()</span></code></a></li>
<li><a class="reference internal" href="#mapscript.styleObj.updateFromString"><code class="docutils literal notranslate"><span class="pre">styleObj.updateFromString()</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="Related">
<h3>Gezinti</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../../../genindex.html" title="Genel Dizin"
>dizin</a></li>
<li class="right" >
<a href="mapscript.symbolObj.html" title="mapscript.symbolObj"
>sonraki</a> |</li>
<li class="right" >
<a href="mapscript.shapefileObj.html" title="mapscript.shapefileObj"
>önceki</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">Home</a> »</li>
<li class="nav-item nav-item-1"><a href="../../../documentation.html" >MapServer 8.6.2 Documentation</a> »</li>
<li class="nav-item nav-item-2"><a href="../../index.html" >MapScript</a> »</li>
<li class="nav-item nav-item-3"><a href="../index.html" >SWIG MapScript API Reference</a> »</li>
<li class="nav-item nav-item-this"><a href="">mapscript.styleObj</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
© <a href="../../../copyright.html">Telif hakkı</a> 2026, Open Source Geospatial Foundation.
Son güncelleme: 2026-04-20.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 9.1.0.
</div>
</body>
</html>