|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mt4j.components.visibleComponents.font.VectorFont
public class VectorFont
A vector font.
| Constructor Summary | |
|---|---|
VectorFont(VectorFontCharacter[] characters, int defaultHorizontalAdvX, java.lang.String fontFamily, int fontMaxAscent, int fontMaxDescent, int unitsPerEm, int originalFontSize, MTColor fillColor, MTColor strokeColor)The Constructor. |
|
| Method Summary | |
|---|---|
IFontCharacter[] |
getCharacters()Gets the characters. |
int |
getDefaultHorizontalAdvX()Gets the default horizontal adv x. |
MTColor |
getFillColor()Gets the fill color. |
int |
getFontAbsoluteHeight()Gets the font absolute height. |
IFontCharacter |
getFontCharacterByName(java.lang.String characterName)Gets the font character by name. |
IFontCharacter |
getFontCharacterByUnicode(java.lang.String unicode)Gets the font character by unicode. |
java.lang.String |
getFontFamily()Gets the font family. |
java.lang.String |
getFontFileName()Gets the font file name. |
java.lang.String |
getFontId()Gets the font id. |
int |
getFontMaxAscent()Gets the font max ascent. |
int |
getFontMaxDescent()Gets the font max descent. |
int |
getOriginalFontSize()Gets the original font size. |
MTColor |
getStrokeColor()Gets the stroke color. |
int |
getUnitsPerEM()Gets the units per em. |
void |
setCharacters(VectorFontCharacter[] characters)Sets the characters. |
void |
setFontFamily(java.lang.String fontFamily)Sets the font family. |
void |
setFontFileName(java.lang.String fontFileName)Sets the font file name. |
void |
setFontId(java.lang.String fontId)Sets the font id. |
void |
setFontMaxAscent(int fontMaxAscent)Sets the font max ascent. |
void |
setFontMaxDescent(int fontMaxDescent)Sets the font max descent. |
void |
setUnitsPerEM(int unitsPerEM)Sets the units per em. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VectorFont(VectorFontCharacter[] characters,
int defaultHorizontalAdvX,
java.lang.String fontFamily,
int fontMaxAscent,
int fontMaxDescent,
int unitsPerEm,
int originalFontSize,
MTColor fillColor,
MTColor strokeColor)
characters - the charactersdefaultHorizontalAdvX - the default horizontal adv xfontFamily - the font familyfontMaxAscent - the font max ascentfontMaxDescent - the font max descentunitsPerEm - the units per emoriginalFontSize - the original font sizefillColor - the fill colorstrokeColor - the stroke color| Method Detail |
|---|
public IFontCharacter getFontCharacterByName(java.lang.String characterName)
IFontgetFontCharacterByName in interface IFont
characterName - the character namepublic IFontCharacter getFontCharacterByUnicode(java.lang.String unicode)
IFontgetFontCharacterByUnicode in interface IFont
unicode - the unicodepublic IFontCharacter[] getCharacters()
IFontgetCharacters in interface IFont
public void setCharacters(VectorFontCharacter[] characters)
characters - the new characterspublic int getDefaultHorizontalAdvX()
IFontgetDefaultHorizontalAdvX in interface IFont
public java.lang.String getFontFamily()
IFontgetFontFamily in interface IFont
public void setFontFamily(java.lang.String fontFamily)
fontFamily - the new font familypublic int getFontMaxAscent()
IFontgetFontMaxAscent in interface IFont
public int getFontMaxDescent()
IFontgetFontMaxDescent in interface IFont
public void setFontMaxAscent(int fontMaxAscent)
fontMaxAscent - the new font max ascentpublic void setFontMaxDescent(int fontMaxDescent)
fontMaxDescent - the new font max descentpublic int getFontAbsoluteHeight()
IFontgetFontAbsoluteHeight in interface IFont
public int getUnitsPerEM()
IFontgetUnitsPerEM in interface IFont
public void setUnitsPerEM(int unitsPerEM)
unitsPerEM - the new units per empublic java.lang.String getFontId()
public void setFontId(java.lang.String fontId)
fontId - the new font idpublic java.lang.String getFontFileName()
IFontgetFontFileName in interface IFont
public void setFontFileName(java.lang.String fontFileName)
fontFileName - the new font file namepublic int getOriginalFontSize()
IFontgetOriginalFontSize in interface IFont
public MTColor getFillColor()
IFontgetFillColor in interface IFont
public MTColor getStrokeColor()
IFontgetStrokeColor in interface IFont
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||