MapScript 4.24 scalebarObjクラス

scalebarObjはmapObjとlabelObjに所属しています。

+----------+ 0..1     1 +-----+
| Scalebar | <--------- | Map |
+----------+            +-----+
+----------+ 1        1 +-------+
| Scalebar | ---------> | Label |
+----------+            +-------+

4.24.1 scalebarObj 属性

connoteabackgroundcolor : colorObj

スケールバーの背景色、画像の背景色ではない。

connoteacolor : colorObj

スケールバーの色。

connoteaimagecolor : colorObj

スケールバーを初期化する色(すなわち背景色)。

connoteaheight : int

スケールバーの高さ。

connoteaintervals : int

スケールバーの分割数。

connotealabel : labelObj

スケールバーのラベル定義。

connoteaoutlinecolor : colorObj

輪郭の描画に用いられる色。

connoteaposition : int

画像に埋め込まれる場合の位置。

connoteapostlabelcache : int

埋め込まれるスケールバーでのみ用いられる。 Mapserverにキャッシュされた全てのラベルが描画された後にスケールバーを埋め込むかどうかを設定する。

connoteastatus : int

スケールバー画像が生成されているかどうか、そして画像が埋め込まれているかどうか。

connoteastyle : int

スケールバーのスタイルを選択する。 0または1の値をとる。

connoteaunits : int

出力されるスケールバーの単位。

connoteawidth : int

スケールバーの幅。

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