点击或拖拽改变大小

IDrawTool 接口

基础绘制工具 接口

命名空间:  GISShare.SMap.WPF.Tool
程序集:  GISShare.SMap.WPF (在 GISShare.SMap.WPF.dll 中) 版本:1.9.1.6 (1.9.1.6)
语法
public interface IDrawTool : ITool, 
	ICommand

The IDrawTool type exposes the following members.

属性
  名称说明
公共属性Cursor
光标
(继承自 ITool。)
公共属性Drawing
是否正在执行绘制操作
公共属性GetCreateGeometry
图形创建委托
Top
方法
  名称说明
公共方法CancelSketch
取消当前绘制的任务
公共方法FinishSketch
完成当前绘制的任务
公共方法OnClick
触发
(继承自 ICommand。)
公共方法OnCreate
创建(在使用前调用,传入Map)
(继承自 ICommand。)
公共方法OnEvent
提供一个内置的监听函数(0:载入TOOL;-1:退出TOOL;其外可供拓展)
(继承自 ITool。)
公共方法OnKeyDown
键盘按下
(继承自 ITool。)
公共方法OnKeyUp
键盘弹起
(继承自 ITool。)
公共方法OnMouseClick
鼠标单击
(继承自 ITool。)
公共方法OnMouseDoubleClick
鼠标双击
(继承自 ITool。)
公共方法OnMouseDown
鼠标按下
(继承自 ITool。)
公共方法OnMouseMove
鼠标移动
(继承自 ITool。)
公共方法OnMouseUp
鼠标弹起
(继承自 ITool。)
Top
参见