| 包 | com.supermap.web.iServerJava6R.themeServices |
| 类 | public class ThemeOffset |
| 继承 | ThemeOffset Object |
通过该类可以设置专题图中渲染符号的偏移量以及偏移量是否随地图缩放而改变。
| 属性 | 定义方 | ||
|---|---|---|---|
| offsetFixed : Boolean
当前专题图是否固定渲染符号的偏移量.
|
ThemeOffset | ||
| offsetX : String
专题图中渲染符号的水平偏移量,当 ThemeOffset.offsetFixed = true 时,该属性单位为像素,反之为地图单位.
|
ThemeOffset | ||
| offsetY : String
专题图中渲染符号垂直偏移量。当 ThemeOffset.offsetFixed = true 时,该属性单位为像素,反之为地图单位.
|
ThemeOffset | ||
| 方法 | 定义方 | ||
|---|---|---|---|
|
初始化 ThemeOffset 类的新实例。
|
ThemeOffset | ||
| offsetFixed | 属性 |
offsetFixed:Boolean
当前专题图是否固定渲染符号的偏移量.
所谓固定偏移量,则渲染符号的偏移量不随地图的缩放而变化。默认为 false,表示偏移量随地图的缩放而变化。
public function get offsetFixed():Boolean public function set offsetFixed(value:Boolean):void| offsetX | 属性 |
offsetX:String
专题图中渲染符号的水平偏移量,当 ThemeOffset.offsetFixed = true 时,该属性单位为像素,反之为地图单位.
该偏移量的值为一个常量值或者字段表达式所表示的值,即如果字段表达式为 SmID,其中 SmID = 2,那么水平偏移量为 2。
public function get offsetX():String public function set offsetX(value:String):void| offsetY | 属性 |
offsetY:String
专题图中渲染符号垂直偏移量。当 ThemeOffset.offsetFixed = true 时,该属性单位为像素,反之为地图单位.
该偏移量的值为一个常量值或者字段表达式所表示的值,即如果字段表达式为 SmID,其中 SmID = 2,那么垂直偏移量为2。
public function get offsetY():String public function set offsetY(value:String):void| ThemeOffset | () | 构造函数 |
public function ThemeOffset()
初始化 ThemeOffset 类的新实例。