|
@@ -18,7 +18,7 @@ public class BaseStyle {
|
|
|
* 字体大小
|
|
|
*/
|
|
|
@Expose
|
|
|
- protected int fontSize = 10;
|
|
|
+ protected int fontSize = 16;
|
|
|
|
|
|
/**
|
|
|
* 字体颜色
|
|
@@ -27,6 +27,18 @@ public class BaseStyle {
|
|
|
protected String fontColor = "#000000";
|
|
|
|
|
|
/**
|
|
|
+ * 字体粗细
|
|
|
+ */
|
|
|
+ @Expose
|
|
|
+ protected int fontWeight = 500;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 字体名称
|
|
|
+ */
|
|
|
+ @Expose
|
|
|
+ protected String fontName;
|
|
|
+
|
|
|
+ /**
|
|
|
* 预定义好的样式类Id
|
|
|
*/
|
|
|
@Expose
|
|
@@ -64,6 +76,22 @@ public class BaseStyle {
|
|
|
this.fontColor = fontColor;
|
|
|
}
|
|
|
|
|
|
+ public int getFontWeight() {
|
|
|
+ return fontWeight;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setFontWeight(int fontWeight) {
|
|
|
+ this.fontWeight = fontWeight;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getFontName() {
|
|
|
+ return fontName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setFontName(String fontName) {
|
|
|
+ this.fontName = fontName;
|
|
|
+ }
|
|
|
+
|
|
|
public String getClassId() {
|
|
|
return classId;
|
|
|
}
|