T - public class MathMLFontStyle<T> extends FontStyle<T>
FontStyle.FontStyleAttribute, FontStyle.HorizontalAlignment, FontStyle.VerticalAlignment| Modifier and Type | Field and Description |
|---|---|
static AttributedCharacterIterator.Attribute |
TEXT_MODE |
angle, ANGLE, colour, COLOUR, font, FONT, FONT_SIZE, fontSize, HORIZONTAL_ALIGNMENT, horizontalAlignment, italic, ITALIC, VERTICAL_ALIGNMENT, verticalAlignment| Modifier | Constructor and Description |
|---|---|
protected |
MathMLFontStyle(MathMLFont font,
T col) |
| Modifier and Type | Method and Description |
|---|---|
net.sourceforge.jeuclid.LayoutContext |
getLayoutContext() |
org.openimaj.image.typography.mathml.MathMLFontStyle.MathInput |
getMathInput() |
boolean |
isTextMode() |
void |
parseAttributes(Map<? extends AttributedCharacterIterator.Attribute,Object> attrs)
Parse the attributes map and set this FontStyle accordingly.
|
void |
setMathInput(org.openimaj.image.typography.mathml.MathMLFontStyle.MathInput input) |
getAngle, getColour, getFont, getFontSize, getHorizontalAlignment, getRenderer, getVerticalAlignment, isItalic, parseAttributes, setAngle, setColour, setFont, setFontSize, setHorizontalAlignment, setItalic, setVerticalAlignmentpublic static final AttributedCharacterIterator.Attribute TEXT_MODE
protected MathMLFontStyle(MathMLFont font, T col)
public net.sourceforge.jeuclid.LayoutContext getLayoutContext()
LayoutContext encoding of this MathMLFontStylepublic org.openimaj.image.typography.mathml.MathMLFontStyle.MathInput getMathInput()
public void setMathInput(org.openimaj.image.typography.mathml.MathMLFontStyle.MathInput input)
input - public boolean isTextMode()
public void parseAttributes(Map<? extends AttributedCharacterIterator.Attribute,Object> attrs)
FontStyleparseAttributes in class FontStyle<T>attrs - the attribute map