Properties
Protected _enabled
_enabled: boolean
_fillColor
_fillColor: SColor = new SColor("#2196f3")
Protected _isMoving
_isMoving: boolean
_lineStyle
_lineStyle: SLineStyle = SLineStyle.Solid
_lineWidth
_lineWidth: number = 1
Protected _mouseDownPos
_mouseDownPos: SPoint
_resizeable
_resizeable: boolean
Protected _selected
_selected: boolean
_status
_status: SItemStatus = SItemStatus.Normal
_strokeColor
_strokeColor: SColor = SColor.Black
Private _verAndLeve
_verAndLeve: Boolean = false
children
children: SGraphItem[]
Private curIndex
curIndex: number = -1
Private curPoint
curPoint: SPoint | null = null
dis
dis: number = 10
isTransform
isTransform: boolean
Private lastPoint
lastPoint: SPoint | null = null
Private maxX
maxX: number = Number.MIN_SAFE_INTEGER
Private maxY
maxY: number = Number.MIN_SAFE_INTEGER
Private minX
minX: number = Number.MAX_SAFE_INTEGER
Private minY
minY: number = Number.MAX_SAFE_INTEGER
moveable
moveable: boolean
pointList
pointList: SPoint[] = []
Private sceneDis
sceneDis: number = 10
selectable
selectable: boolean
showSelect
showSelect: boolean
Private undoStack
undoStack: SUndoStack = new SUndoStack()
折线编辑类
韩耀龙(han_yao_long@163.com)