MapScript 4.28 symbolObj

symbolObjはsymbolSetObj所属しています。

+--------+ 0..*    1 +-----------+
| Symbol | <-------- | SymbolSet |
+--------+           +-----------+

4.28.1 symbolObj 属性

connoteaantialias : int

MS_TRUE或いはMS_FALSE。

connoteacharacter : string

TrueTypeシンボル。

connoteafilled : int

MS_TRUE或いはMS_FALSE。

connoteafont : string

TrueTypeシンボルのフォント名。

connoteagap : int

connoteaimagepath : string

pixmapファイルのパス。

connotealinecap : int

connotealinejoin : int

connotealinejoinmaxsize : float

connoteaname : string

シンボル名です。

connoteanumpoints : int immutable

ベクトルシンボルの点の数。

connoteaposition : int

connoteasizex : float

connoteasizey : float

connoteastylelength : int

間隔の数です。

connoteatransparent : int

connoteatransparentcolor : int

connoteatype : int

MS_SYMBOL_SIMPLE, MS_SYMBOL_VECTOR, MS_SYMBOL_ELLIPSE, MS_SYMBOL_PIXMAP, MS_SYMBOL_TRUETYPE或いはMS_SYMBOL_CARTOLINE.

4.28.2 symbolObj メソッド

connoteanew symbolObj( string symbolname [, string imagefile ] ) : symbolObj

ディフォルトシンボルインスタンスを作成します。imagefileを指定された場合は、シンボルタイプをMS_SYMBOL_PIXMAPに設定されます。

connoteagetImage() : imageObj

pixmapシンボルをimageObjとして返します。

connoteagetPoints() : lineObj

シンボルの点集を返します。

connoteasetImage( imageObj image ) : int

imageを与えて、pixmapシンボルのイメージを設定します。

connoteasetPoints( lineObj line ) : int

ベクトルシンボルの点集を設定します。

connoteasetStyle( int index, int value ) : int

インデックスを与えて、スタイルの値を設定します。MS_SUCCESS或いはMS_FAILUREを返します。

Add a new comment
Page tags: mapscript mapserver
page_revision: 3, last_edited: 1208848764|%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