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;

メソッド:

connoteaint set(string property_name, new_value)

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

connoteaint setimagecolor(int red, int green, int blue)

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

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