Properties
Private _backgroundColor
_backgroundColor: SColor = SColor.Transparent
Private _borderStyle
_borderStyle: SLineStyle = SLineStyle.None
Private _color
_color: SColor = new SColor("#333333")
Protected _enabled
_enabled: boolean
Private _font
_font: SFont
Protected _isMoving
_isMoving: boolean
Private _lineWidth
_lineWidth: number = 1
Protected _mouseDownPos
_mouseDownPos: SPoint
Private _originPosition
_originPosition: STextOrigin = STextOrigin.LeftTop
Private _painter
_painter: SPainter | null = null
_resizeable
_resizeable: boolean
Protected _selected
_selected: boolean
Protected _status
_status: SItemStatus = SItemStatus.Normal
Private _strokeColor
_strokeColor: SColor = SColor.Transparent
Private _text
_text: string = ""
Private _textArr
_textArr: string[] = []
anchorList
anchorList: SAnchorItem[]
children
children: SGraphItem[]
isTransform
isTransform: boolean
maxWidth
maxWidth: number | undefined = undefined
moveable
moveable: boolean
selectable
selectable: boolean
showSelect
showSelect: boolean
文本编辑类
韩耀龙(han_yao_long@163.com)