Top Methods
com.sun.javafx.font

public Interface FontStrike

Known Direct Implementers
com.sun.javafx.font.PrismFontStrike, com.sun.javafx.font.CompositeStrike
Imports
com.sun.javafx.scene.text.GlyphList, com.sun.javafx.geom.Point2D, .Shape, com.sun.javafx.geom.transform.BaseTransform

Method Summary

Modifier and TypeMethod and Description
public void
public boolean
public int
public float
getCharAdvance(char ch)

public FontResource
public Glyph
getGlyph(char symbol)

public Glyph
getGlyph(int glyphCode)

public Metrics
public Shape
public int
getQuantizedPosition(Point2D point)

Modifies the point argument to the quantized position suitable for the underlying glyph rasterizer.

public float
public BaseTransform

Method Detail

clearDescback to summary
public void clearDesc()
drawAsShapesback to summary
public boolean drawAsShapes()
getAAModeback to summary
public int getAAMode()
getCharAdvanceback to summary
public float getCharAdvance(char ch)
getFontResourceback to summary
public FontResource getFontResource()
getGlyphback to summary
public Glyph getGlyph(char symbol)
getGlyphback to summary
public Glyph getGlyph(int glyphCode)
getMetricsback to summary
public Metrics getMetrics()
getOutlineback to summary
public Shape getOutline(GlyphList gl, BaseTransform transform)
getQuantizedPositionback to summary
public int getQuantizedPosition(Point2D point)

Modifies the point argument to the quantized position suitable for the underlying glyph rasterizer. The return value is the sub pixel index which should be passed to Glyph#getPixelData(int) in order to obtain the correct glyph mask for the given point.

getSizeback to summary
public float getSize()
getTransformback to summary
public BaseTransform getTransform()