public class Font extends Object
| 构造器和说明 |
|---|
Font() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Font |
build() |
String |
getColor() |
short |
getFontHeightInPoints() |
int |
getFontId() |
String |
getFontName() |
boolean |
isBoldWeight() |
Font |
setBoldWeight(boolean boldWeight) |
Font |
setColor(String color) |
Font |
setFontHeightInPoints(short fontHeightInPoints) |
void |
setFontId(int fontId) |
Font |
setFontName(String fontName) |
public static Font build()
public String getFontName()
public boolean isBoldWeight()
public Font setBoldWeight(boolean boldWeight)
public String getColor()
public short getFontHeightInPoints()
public Font setFontHeightInPoints(short fontHeightInPoints)
public int getFontId()
public void setFontId(int fontId)
Copyright © 2022. All rights reserved.