PHP/MapScript StyleObjクラス

コンストラクタ:

StyleObjのインスタンスは常にClassObjに組み込まれます。

styleObj ms_newStyleObj(classObj class [, styleObj style])

2番目の引数、styleはオプションです。指定した場合、新しく作成されるスタイルは引数で指定したスタイルのコピーになります。

メンバ:

int           symbol
string        symbolname
int           size
int           minsize 
int           maxsize 
int           offsetx
int           offsety
colorObj      color
colorObj      backgroundcolor
colorObj      outlinecolor
int           width
int           minwidth
int           maxwidth
double        angle
string        angleitem  
string        sizeitem
double        minvalue
double        maxvalue
string        rangeitem

メソッド:

BlinkListblogmarksdel.icio.usdiggFarkfeedmelinksFurlLinkaGoGoNewsVineNetvouzRedditYahooMyWebFacebook int set(string property_name, new_value)

オブジェクトのプロパティをnew_valueに設定します。エラーの場合 -1が返ります。

BlinkListblogmarksdel.icio.usdiggFarkfeedmelinksFurlLinkaGoGoNewsVineNetvouzRedditYahooMyWebFacebook styleObj clone()

スタイルのクローンコピーを返します。

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License