|
||||||||||
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 colorMethod Detail |
---|
public IFontCharacter getFontCharacterByName(java.lang.String characterName)
IFont
getFontCharacterByName
in interface IFont
characterName
- the character namepublic IFontCharacter getFontCharacterByUnicode(java.lang.String unicode)
IFont
getFontCharacterByUnicode
in interface IFont
unicode
- the unicodepublic IFontCharacter[] getCharacters()
IFont
getCharacters
in interface IFont
public void setCharacters(VectorFontCharacter[] characters)
characters
- the new characterspublic int getDefaultHorizontalAdvX()
IFont
getDefaultHorizontalAdvX
in interface IFont
public java.lang.String getFontFamily()
IFont
getFontFamily
in interface IFont
public void setFontFamily(java.lang.String fontFamily)
fontFamily
- the new font familypublic int getFontMaxAscent()
IFont
getFontMaxAscent
in interface IFont
public int getFontMaxDescent()
IFont
getFontMaxDescent
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()
IFont
getFontAbsoluteHeight
in interface IFont
public int getUnitsPerEM()
IFont
getUnitsPerEM
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()
IFont
getFontFileName
in interface IFont
public void setFontFileName(java.lang.String fontFileName)
fontFileName
- the new font file namepublic int getOriginalFontSize()
IFont
getOriginalFontSize
in interface IFont
public MTColor getFillColor()
IFont
getFillColor
in interface IFont
public MTColor getStrokeColor()
IFont
getStrokeColor
in interface IFont
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |