-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyconf.xml
More file actions
94 lines (94 loc) · 3.47 KB
/
styconf.xml
File metadata and controls
94 lines (94 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<Style>
<!--StyleConstants样式属性集对象设置方法
static void setAlignment(MutableAttributeSet a, int align)
Sets alignment.
static void setBackground(MutableAttributeSet a, Color fg)
Sets the background color.
static void setBidiLevel(MutableAttributeSet a, int o)
Sets the BidiLevel.
static void setBold(MutableAttributeSet a, boolean b)
Sets the bold attribute.
static void setComponent(MutableAttributeSet a, Component c)
Sets the component attribute.
static void setFirstLineIndent(MutableAttributeSet a, float i)
Sets the first line indent.
static void setFontFamily(MutableAttributeSet a, String fam)
Sets the font attribute.
static void setFontSize(MutableAttributeSet a, int s)
Sets the font size attribute.
static void setForeground(MutableAttributeSet a, Color fg)
Sets the foreground color.
static void setIcon(MutableAttributeSet a, Icon c)
Sets the icon attribute.
static void setItalic(MutableAttributeSet a, boolean b)
Sets the italic attribute.
static void setLeftIndent(MutableAttributeSet a, float i)
Sets left indent.
static void setLineSpacing(MutableAttributeSet a, float i)
Sets line spacing.
static void setRightIndent(MutableAttributeSet a, float i)
Sets right indent.
static void setSpaceAbove(MutableAttributeSet a, float i)
Sets space above.
static void setSpaceBelow(MutableAttributeSet a, float i)
Sets space below.
static void setStrikeThrough(MutableAttributeSet a, boolean b)
Sets the strikethrough attribute.
static void setSubscript(MutableAttributeSet a, boolean b)
Sets the subscript attribute.
static void setSuperscript(MutableAttributeSet a, boolean b)
Sets the superscript attribute.
static void setTabSet(MutableAttributeSet a, TabSet tabs)
Sets the TabSet.
static void setUnderline(MutableAttributeSet a, boolean b)
Sets the underline attribute.
-->
<!--对应属性名
Alignment=(int align)
Sets alignment.
Background=(Color fg)
Sets the background color.
BidiLevel=(int o)
Sets the BidiLevel.
Bold=(boolean b)
Sets the bold attribute.
Component=(Component c)
Sets the component attribute.
FirstLineIndent=(float i)
Sets the first line indent.
FontFamily=(String fam)
Sets the font attribute.
FontSize=(int s)
Sets the font size attribute.
Foreground=(Color fg)
Sets the foreground color.
Icon=(Icon c)
Sets the icon attribute.
Italic=(boolean b)
Sets the italic attribute.
LeftIndent=(float i)
Sets left indent.
LineSpacing=(float i)
Sets line spacing.
RightIndent=(float i)
Sets right indent.
SpaceAbove=(float i)
Sets space above.
SpaceBelow=(float i)
Sets space below.
StrikeThrough=(boolean b)
Sets the strikethrough attribute.
Subscript=(boolean b)
Sets the subscript attribute.
Superscript=(boolean b)
Sets the superscript attribute.
TabSet=(TabSet tabs)
Sets the TabSet.
Underline=(boolean b)
Sets the underline attribute.
-->
<TextStyle name="defattr" FontSize="12" Foreground="black" FontFamily="微软雅黑"/>
<TextStyle name="attr1" FontSize="20" Foreground="red" FontFamily="微软雅黑"/>
<TextStyle name="attr2" FontSize="10" Foreground="blue" FontFamily="微软雅黑" Background="green"/>
<TextStyle name="标题" FontSize="25" Foreground="orange" FontFamily="微软雅黑" />
</Style>