public class SnapSettingUtilities
extends java.lang.Object
构造器和说明 |
---|
SnapSettingUtilities() |
限定符和类型 | 方法和说明 |
---|---|
static com.supermap.mapping.SnapSetting |
getSnapSetting()
获取当前捕捉设置
|
static boolean |
isSnapForLayout()
捕捉设置是否应用于布局
|
static com.supermap.mapping.SnapSetting |
parseSnapSetting()
从SnapSetting.xml文件中获取SnapSetting节点,并通过该节点构造一个SnapSetting类
|
static void |
resetSnapSettingFile(com.supermap.mapping.SnapSetting snapSetting)
重置SnapSetting.xml文件
|
static void |
setSnapForLayout(boolean isSnapForLayout)
设置捕捉设置是否应用于布局
|
static void |
setSnapSetting(com.supermap.mapping.SnapSetting snapSetting)
设置捕捉设置
|
public static com.supermap.mapping.SnapSetting getSnapSetting()
public static void setSnapSetting(com.supermap.mapping.SnapSetting snapSetting)
snapSetting
- 捕捉设置public static com.supermap.mapping.SnapSetting parseSnapSetting()
public static void resetSnapSettingFile(com.supermap.mapping.SnapSetting snapSetting)
snapSetting
-public static boolean isSnapForLayout()
public static void setSnapForLayout(boolean isSnapForLayout)
isSnapForLayout
-