Class Text
java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.Text
- All Implemented Interfaces:
IMapObjectText
public class Text
extends java.lang.Object
implements IMapObjectText
Constructor Summary
Constructors Constructor Description Text()
Method Summary
Modifier and Type Method Description Align
getAlign()
java.awt.Color
getColor()
java.awt.Font
getFont()
java.lang.String
getFontName()
int
getPixelSize()
java.lang.String
getText()
Valign
getValign()
boolean
isBold()
boolean
isItalic()
boolean
isStrikeout()
boolean
isUnderlined()
boolean
useKerning()
boolean
wrap()
Constructor Details
Text
public Text()
Method Details
getText
public java.lang.String getText()- Specified by:
getText
in interfaceIMapObjectText
getFont
public java.awt.Font getFont()- Specified by:
getFont
in interfaceIMapObjectText
getFontName
public java.lang.String getFontName()getPixelSize
public int getPixelSize()wrap
public boolean wrap()- Specified by:
wrap
in interfaceIMapObjectText
getColor
public java.awt.Color getColor()- Specified by:
getColor
in interfaceIMapObjectText
isBold
public boolean isBold()- Specified by:
isBold
in interfaceIMapObjectText
isItalic
public boolean isItalic()- Specified by:
isItalic
in interfaceIMapObjectText
isUnderlined
public boolean isUnderlined()- Specified by:
isUnderlined
in interfaceIMapObjectText
isStrikeout
public boolean isStrikeout()- Specified by:
isStrikeout
in interfaceIMapObjectText
useKerning
public boolean useKerning()- Specified by:
useKerning
in interfaceIMapObjectText
getAlign
- Specified by:
getAlign
in interfaceIMapObjectText
getValign
- Specified by:
getValign
in interfaceIMapObjectText