Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPathLine

线条路径.

Examples:

var line: IPathLine = { type: 'line', origin: [0, 0], end: [1, 1] };   //typescript
var line = { type: 'line', origin: [0, 0], end: [1, 1] };   //javascript

Hierarchy

Implemented by

Index

Properties

Properties

Optional data

属性数据.

end

end: IPoint

定义线的终点。起点是原点.

Optional layer

layer: string

图层.

origin

origin: IPoint

基点.

type

type: string

路径的类型,例如“线”、“圆”或“圆弧”。这些字符串在路径类型中枚举.

Generated using TypeDoc