PHP/MapScript LegendObjクラス
コンストラクタ:
LegendObjのインスタンスは常にMapObjに組み込まれます。
メンバ:
int height;
int width;
int keysizex;
int keysizey;
int keyspacingx;
int keyspacingy;
colorObj outlinecolor; //ボックスの輪郭線の色, 輪郭線なしの時 -1
int status; //MS_ON, MS_OFF, MS_EMBED
int position; //f組み込み凡例用、MS_UL, MS_UC, ...
int transparent;
int interlace;
int postlabelcache; //MS_TRUE, MS_FALSE
labelObj label;
colorObj imagecolor;
string template
メソッド:
int set(string property_name, new_value)
オブジェクトのプロパティをnew_valueに設定します。エラーの場合 -1が返ります。
page revision: 4, last edited: 11 May 2008 13:28