public static class Html2ImageWrapper.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
Html2ImageWrapper |
build() |
String |
getCss() |
Document |
getDocument() |
Font |
getFont() |
Integer |
getFontColor() |
String |
getFontFamily() |
Integer |
getH() |
MarkdownEntity |
getHtml() |
String |
getOutType() |
Integer |
getW() |
boolean |
isAutoH() |
boolean |
isAutoW() |
Html2ImageWrapper.Builder |
setAutoH(boolean autoH) |
Html2ImageWrapper.Builder |
setAutoW(boolean autoW) |
Html2ImageWrapper.Builder |
setCss(String css) |
Html2ImageWrapper.Builder |
setDocument(String html) |
Html2ImageWrapper.Builder |
setFont(Font font) |
Html2ImageWrapper.Builder |
setFontColor(int fontColor) |
Html2ImageWrapper.Builder |
setFontFamily(String fontFamily) |
Html2ImageWrapper.Builder |
setH(Integer h) |
Html2ImageWrapper.Builder |
setHtml(MarkdownEntity html) |
Html2ImageWrapper.Builder |
setHtml(String html) |
Html2ImageWrapper.Builder |
setOutType(String outType) |
Html2ImageWrapper.Builder |
setW(Integer w) |
public Html2ImageWrapper.Builder setW(Integer w)
public Html2ImageWrapper.Builder setH(Integer h)
public Html2ImageWrapper.Builder setAutoW(boolean autoW)
public Html2ImageWrapper.Builder setAutoH(boolean autoH)
public Html2ImageWrapper.Builder setOutType(String outType)
public Html2ImageWrapper.Builder setHtml(String html)
public Html2ImageWrapper.Builder setHtml(MarkdownEntity html)
public Html2ImageWrapper.Builder setCss(String css)
public Html2ImageWrapper.Builder setFont(Font font)
public Html2ImageWrapper.Builder setFontFamily(String fontFamily)
public Html2ImageWrapper.Builder setFontColor(int fontColor)
public Html2ImageWrapper.Builder setDocument(String html) throws Exception
Exceptionpublic Integer getW()
public Integer getH()
public boolean isAutoW()
public boolean isAutoH()
public String getOutType()
public MarkdownEntity getHtml()
public String getCss()
public String getFontFamily()
public Font getFont()
public Integer getFontColor()
public Document getDocument()
public Html2ImageWrapper build() throws Exception
ExceptionCopyright © 2020. All rights reserved.