public class TeXFormula.TeXIconBuilder
extends java.lang.Object
| Constructor and Description |
|---|
TeXFormula.TeXIconBuilder() |
| Modifier and Type | Method and Description |
|---|---|
TeXIcon |
build()
Create a TeXIcon from the information gathered by the (chained) setXXX() methods.
|
TeXFormula.TeXIconBuilder |
setFGColor(java.awt.Color fgcolor)
Specify the background color for rendering the given TeXFormula
|
TeXFormula.TeXIconBuilder |
setInterLineSpacing(int interLineUnit,
float interLineSpacing)
Specify the inter line spacing unit and value.
|
TeXFormula.TeXIconBuilder |
setIsMaxWidth(boolean isMaxWidth)
Specifies whether the width is the exact or the maximum width
|
TeXFormula.TeXIconBuilder |
setSize(float size)
Specify the font size for rendering the given TeXFormula
|
TeXFormula.TeXIconBuilder |
setStyle(int style)
Specify the style for rendering the given TeXFormula
|
TeXFormula.TeXIconBuilder |
setTrueValues(boolean trueValues)
Specify the "true values" parameter for rendering the given TeXFormula
|
TeXFormula.TeXIconBuilder |
setType(int type)
Specify the font type for rendering the given TeXFormula
|
TeXFormula.TeXIconBuilder |
setWidth(int widthUnit,
float textWidth,
int align)
Specify the width of the formula (may be exact or maximum width, see
setIsMaxWidth(boolean)) |
public TeXFormula.TeXIconBuilder setStyle(int style)
style - the stylepublic TeXFormula.TeXIconBuilder setSize(float size)
size - the sizepublic TeXFormula.TeXIconBuilder setType(int type)
type - the font typepublic TeXFormula.TeXIconBuilder setFGColor(java.awt.Color fgcolor)
fgcolor - the foreground colorpublic TeXFormula.TeXIconBuilder setTrueValues(boolean trueValues)
trueValues - the "true values" valuepublic TeXFormula.TeXIconBuilder setWidth(int widthUnit, float textWidth, int align)
setIsMaxWidth(boolean))widthUnit - the width unittextWidth - the widthalign - the alignmentpublic TeXFormula.TeXIconBuilder setIsMaxWidth(boolean isMaxWidth)
isMaxWidth - whether the width is a maximum widthpublic TeXFormula.TeXIconBuilder setInterLineSpacing(int interLineUnit, float interLineSpacing)
interLineUnit - the unitinterLineSpacing - the valuepublic TeXIcon build()