| Modifier and Type | Field and Description |
|---|---|
(package private) float |
advanceX |
(package private) float |
advanceY |
(package private) FT_Bitmap |
bitmap |
(package private) int |
bitmap_left |
(package private) int |
bitmap_top |
(package private) byte[] |
buffer |
(package private) int |
glyphCode |
(package private) boolean |
lcd |
(package private) FTFontStrike |
strike |
(package private) float |
userAdvance |
| Constructor and Description |
|---|
FTGlyph(FTFontStrike strike,
int glyphCode,
boolean drawAsShape) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAdvance() |
RectBounds |
getBBox() |
int |
getGlyphCode() |
int |
getHeight() |
int |
getOriginX() |
int |
getOriginY() |
byte[] |
getPixelData() |
byte[] |
getPixelData(int subPixel)
Returns the glyph mask at the subpixel position specified by subPixel.
|
float |
getPixelXAdvance() |
float |
getPixelYAdvance() |
Shape |
getShape() |
int |
getWidth() |
private void |
init() |
boolean |
isLCDGlyph() |
FTFontStrike strike
int glyphCode
byte[] buffer
FT_Bitmap bitmap
int bitmap_left
int bitmap_top
float advanceX
float advanceY
float userAdvance
boolean lcd
FTGlyph(FTFontStrike strike, int glyphCode, boolean drawAsShape)
public int getGlyphCode()
getGlyphCode in interface Glyphprivate void init()
public RectBounds getBBox()
public float getAdvance()
getAdvance in interface Glyphpublic byte[] getPixelData()
getPixelData in interface Glyphpublic byte[] getPixelData(int subPixel)
GlyphgetPixelData in interface GlyphFontStrike.getQuantizedPosition(com.sun.javafx.geom.Point2D)public float getPixelXAdvance()
getPixelXAdvance in interface Glyphpublic float getPixelYAdvance()
getPixelYAdvance in interface Glyphpublic int getOriginX()
getOriginX in interface Glyphpublic int getOriginY()
getOriginY in interface Glyphpublic boolean isLCDGlyph()
isLCDGlyph in interface Glyph