文本UML
2021-05-27 19:30:11 0 举报
文本数据结构
作者其他创作
大纲/内容
RTChar
+ content: type = ''+ type: RTCharType = RTCharType.Normal+ style: RTCharStyle
+ operation1(params):returnType- operation2(params)- operation3()
RTLayoutBuilder
- lines: RTLineArea[] = []- words: RTWordArea[] = []- paragraphs: RTCharArea[] = []
RTCharArea
+ baseline: number = 0+ descent: number = 0+ ascent: number = 0+ fontWidth: number = 0+ position: number = -1+ char: RTChar
RTLineArea
+ contentWidth: number = 0+ children: RTCharArea[] = []+ spacing: number = 0+ sizePolicy: DTextSizePolicy+ y: number
RTCharStyle
+ fontFamily: number = 0+ fontWeight: number = 0+ fontSize: number = 16+ color: number = 0x333333- alpha: number+ charSpacing: number = 0+ lineHeight: number = 19+ lineSpacing: number = 0+ decoration: number = 0+ alignment: DHorizontalAlignment
RTArea
+ x: number = 0+ y: number = 0+ width: number = 0+ height: number = 0
RTLayout
+ width: number = 0+ height: number = 0+lines: RTLineArea[] = []+ words: RTWordArea[] = []+ paragraphs: RTCharArea[] = []
RTText
+ width: number = 0+ height: number = 0+ sizePolicy: number = DTextSizePolicy.FixedSize+ verticalAlignment: number = DVerticalAlignment.Top- chars: RTChar[]
RTWordArea
+ children: RTCharArea[] = []
0 条评论
下一页