Skip to content

EditPoint ​

编辑框内的控制点。

继承

EditPoint  >  Box  >  UI

关键属性 ​

direction:Direction9 ​

ts
enum Direction9 {
  topLeft,
  top,
  topRight,
  right,
  bottomRight,
  bottom,
  bottomLeft,
  left,
  center,
}

pointType:IEditPointType ​

ts
type IEditPointType =
  | 'move' // 移动按钮
  | 'rotate' // 旋转按钮
  | 'resize' // resize 按钮
  | 'resize-rotate' // reisze + 旋转按钮
  | 'button' // 自定义按钮

继承元素 ​

EditPoint  >  Box  >  UI ​

Released under the MIT License.