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 Glyph
private void init()
public RectBounds getBBox()
public float getAdvance()
getAdvance
in interface Glyph
public byte[] getPixelData()
getPixelData
in interface Glyph
public byte[] getPixelData(int subPixel)
Glyph
getPixelData
in interface Glyph
FontStrike.getQuantizedPosition(com.sun.javafx.geom.Point2D)
public float getPixelXAdvance()
getPixelXAdvance
in interface Glyph
public float getPixelYAdvance()
getPixelYAdvance
in interface Glyph
public int getOriginX()
getOriginX
in interface Glyph
public int getOriginY()
getOriginY
in interface Glyph
public boolean isLCDGlyph()
isLCDGlyph
in interface Glyph