PHP/MapScript ScalebarObjオブジェクト

コンストラクタ:

ScalebarObjのインスタンスは常にMapObjに組み込まれます。

メンバ:

int height;
int width;
int style;      
int intervals;
colorObj color;
colorObj backgroundcolor;            
colorObj outlinecolor;
int units;
int status; //MS_ON, MS_OFF, MS_EMBED
int position; //組み込みスケールバー用, MS_UL, MS_UC, ...
int transparent;
int interlace;
int postlabelcache;
labelObj label;
colorObj imagecolor;

メソッド:

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

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

BlinkListblogmarksdel.icio.usdiggFarkfeedmelinksFurlLinkaGoGoNewsVineNetvouzRedditYahooMyWebFacebook int setimagecolor(int red, int green, int blue)

オブジェクトのimagecolorプロパティ(背景)を指定します。エラーの場合falseが返ります。

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

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