MapScript 4.10 labelObjクラス

labelObjオブジェクトはclassObj、scalebarObj或いはlegendObjと関連されています。

+-------+ 0..1     1 +----------+
| Label | <--------- | Class    |
+-------+            | -------- |
                     | Scalebar |
                     | -------- |
                     | Legend   |
                     +----------+

4.10.1 labelObj属性

connoteaangle : float

connoteaantialias : int

MS_TRUE或いはMS_FALSE

connoteaautoangle : int

MS_TRUE或いはMS_FALSE

connoteaautofollow : int

MS_TRUE或いはMS_FALSE。 ラインフィーチャーの場合は、適当な曲線ラベルを作成するかどうか示します。(参考:RFC 11 ).

connoteaautominfeaturesize: int

MS_TRUE或いはMS_FALSE

connoteabackgroundcolor : colorObj

ラベルの背景色

connoteabackgroundshadowcolor : colorObj

ラベルの背景の影の色

connoteabackgroundshadowsizex : int

景の水平オフセットです、単位:pixels。

connoteabackgroundshadowsizey : int

景の垂直オフセットです、単位:pixels。

connoteabuffer : int

ラベル描画のpaddingです。

connoteacolor : colorObj

ラベルの色です。

connoteaencoding : string

ラベル文字列のエンコードです。指定されたエンコードはサポートされていない場合は、ラベルが描画されません。
参考:[http://www.foss4g.org/FOSS4G/MAPSERVER/mpsnf-i18n-en.html]

connoteafont : string

フォントの名前です。

connoteaforce : int

MS_TRUE或いはMS_FALSE

connoteamaxsize : int

スケールされたラベルの描画最大高さです。単位はpixelsです。layerObjオブジェクトのsymbolscale属性も参照してください。

connoteamindistance : int

重ねるラベルの最初距離です。

connoteaminfeaturesize : int

含めたフィーチャーの最初サイズです。

connoteaminsize : int

最初高さ、単位はpixelsです。

connoteaoffsetx : int

水平オフセットです。

connoteaoffsety : int

垂直オフセットです。

connoteaoutlinecolor : colorObj

文字外枠の色です。

connoteapartials : int

MS_TRUE (default)或いはMS_FALSE。

connoteaposition : int

MS_UL, MS_UC, MS_UR, MS_CL, MS_CC, MS_CR, MS_LL, MS_LC, MS_LR, or MS_AUTO.

connoteashadowcolor : colorObj

ラベルの影の色です。

connoteashadowsizex : int

影の水平オフセットです、単位はpixels。

connoteashadowsizey : int

影の垂直オフセットです、単位はpixels。

connoteasize : int

文字の高さです。

connoteatype : int

MS_BITMAP or MS_TRUETYPE.

connoteawrap : string

ラベルテキストでの行端を表す文字。これを用いることで複数行のラベルを使用できる。

Add a new comment
Page tags: mapscript mapserver
page_revision: 3, last_edited: 1208514851|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License