Package arc.freetype
Class FreeType.Face
java.lang.Object
arc.freetype.FreeType.Face
- All Implemented Interfaces:
Disposable
- Enclosing class:
- FreeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Releases all resources of this object.int
int
getCharIndex
(int charCode) int
int
getGlyph()
int
int
getKerning
(int leftGlyph, int rightGlyph, int kernMode) int
int
int
getSize()
int
int
int
boolean
boolean
loadChar
(int charCode, int loadFlags) boolean
loadGlyph
(int glyphIndex, int loadFlags) boolean
selectSize
(int strikeIndex) boolean
setCharSize
(int charWidth, int charHeight, int horzResolution, int vertResolution) boolean
setPixelSizes
(int pixelWidth, int pixelHeight) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface arc.util.Disposable
isDisposed
-
Constructor Details
-
Face
-
-
Method Details
-
dispose
public void dispose()Description copied from interface:Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
-
getFaceFlags
public int getFaceFlags() -
getStyleFlags
public int getStyleFlags() -
getNumGlyphs
public int getNumGlyphs() -
getAscender
public int getAscender() -
getDescender
public int getDescender() -
getHeight
public int getHeight() -
getMaxAdvanceWidth
public int getMaxAdvanceWidth() -
getMaxAdvanceHeight
public int getMaxAdvanceHeight() -
getUnderlinePosition
public int getUnderlinePosition() -
getUnderlineThickness
public int getUnderlineThickness() -
selectSize
public boolean selectSize(int strikeIndex) -
setCharSize
public boolean setCharSize(int charWidth, int charHeight, int horzResolution, int vertResolution) -
setPixelSizes
public boolean setPixelSizes(int pixelWidth, int pixelHeight) -
loadGlyph
public boolean loadGlyph(int glyphIndex, int loadFlags) -
loadChar
public boolean loadChar(int charCode, int loadFlags) -
getGlyph
-
getSize
-
hasKerning
public boolean hasKerning() -
getKerning
public int getKerning(int leftGlyph, int rightGlyph, int kernMode) -
getCharIndex
public int getCharIndex(int charCode)
-