# Interface: IDraw
# Table of contents
# Properties
- Tool
- actionDraw
- actionDrawCircle
- actionDrawLineSting
- actionDrawPoint
- actionDrawPolygon
- actionDrawRectangle
- actionDrawSlantRectangle
- actionSelect
- defaultOptions
- modes
# Properties
# Tool
• Tool: (options?
: object) => any
工具类.
# Type declaration
▸ (options?
: object): any
# Parameters
Name | Type |
---|---|
options? | object |
Returns: any
# actionDraw
• actionDraw: (map
: any, modename
: string, options?
: object) => any
绘制动作.
# Type declaration
▸ (map
: any, modename
: string, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
modename | string |
options? | object |
Returns: any
# actionDrawCircle
• actionDrawCircle: (map
: any, options?
: object) => any
绘制圆动作.
# Type declaration
▸ (map
: any, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
options? | object |
Returns: any
# actionDrawLineSting
• actionDrawLineSting: (map
: any, options?
: object) => any
绘制线动作.
# Type declaration
▸ (map
: any, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
options? | object |
Returns: any
# actionDrawPoint
• actionDrawPoint: (map
: any, options?
: object) => any
绘制点动作.
# Type declaration
▸ (map
: any, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
options? | object |
Returns: any
# actionDrawPolygon
• actionDrawPolygon: (map
: any, options?
: object) => any
绘制多边形动作.
# Type declaration
▸ (map
: any, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
options? | object |
Returns: any
# actionDrawRectangle
• actionDrawRectangle: (map
: any, options?
: object) => any
绘制矩形动作.
# Type declaration
▸ (map
: any, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
options? | object |
Returns: any
# actionDrawSlantRectangle
• actionDrawSlantRectangle: (map
: any, options?
: object) => any
绘制斜矩形动作.
# Type declaration
▸ (map
: any, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
options? | object |
Returns: any
# actionSelect
• actionSelect: (map
: any, draw
: any, options?
: object) => any
选择实体. 如果只能选择一个实体,options选项请输入selectSingle为true
# Type declaration
▸ (map
: any, draw
: any, options?
: object): any
# Parameters
Name | Type |
---|---|
map | any |
draw | any |
options? | object |
Returns: any
# defaultOptions
• defaultOptions: () => any
缺省配置项.
# Type declaration
▸ (): any
Returns: any
# modes
• modes: object
模式.