Top Fields Constructors Methods
com.sun.javafx.font

public Class CompositeStrike

extends Object
implements FontStrike
Class Inheritance
All Implemented Interfaces
com.sun.javafx.font.FontStrike
Imports
com.sun.javafx.scene.text.GlyphList, com.sun.javafx.geom.transform.Affine2D, .BaseTransform, com.sun.javafx.geom.Path2D, .Point2D, .Shape

Field Summary

Modifier and TypeField and Description
private int
private FontStrikeDesc
pack-priv DisposerRecord
private CompositeFontResource
private PrismMetrics
private float
private FontStrike
private FontStrike[]
pack-priv BaseTransform

Constructor Summary

AccessConstructor and Description
pack-priv
CompositeStrike(CompositeFontResource fontResource, float size, BaseTransform graphicsTransform, int aaMode, FontStrikeDesc desc)

Method Summary

Modifier and TypeMethod and Description
public void
public boolean
public int
public float

Returns:

advance of single char
getCharAdvance
(char
char
ch
)

Implements com.sun.javafx.font.FontStrike.getCharAdvance.

Access to individual character advances are frequently needed for layout understand that advance may vary for single glyph if ligatures or kerning are enabled

public FontResource
public Glyph
public Glyph
public Metrics
public Shape
pack-priv void
public int
getQuantizedPosition(Point2D point)

Implements com.sun.javafx.font.FontStrike.getQuantizedPosition.

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

public float
public FontStrike
getStrikeSlot(int slot)

public int
getStrikeSlotForGlyph(int glyphCode)

public BaseTransform
getTransform()

Implements com.sun.javafx.font.FontStrike.getTransform.

Trusting caller to NOT mutate the returned result, to avoid a clone.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aaModeback to summary
private int aaMode
descback to summary
private FontStrikeDesc desc
disposerback to summary
pack-priv DisposerRecord disposer
fontResourceback to summary
private CompositeFontResource fontResource
metricsback to summary
private PrismMetrics metrics
sizeback to summary
private float size
slot0Strikeback to summary
private FontStrike slot0Strike
strikeSlotsback to summary
private FontStrike[] strikeSlots
transformback to summary
pack-priv BaseTransform transform

Constructor Detail

CompositeStrikeback to summary
pack-priv CompositeStrike(CompositeFontResource fontResource, float size, BaseTransform graphicsTransform, int aaMode, FontStrikeDesc desc)

Method Detail

clearDescback to summary
public void clearDesc()

Implements com.sun.javafx.font.FontStrike.clearDesc.

Annotations
@Override
drawAsShapesback to summary
public boolean drawAsShapes()

Implements com.sun.javafx.font.FontStrike.drawAsShapes.

Annotations
@Override
getAAModeback to summary
public int getAAMode()

Implements com.sun.javafx.font.FontStrike.getAAMode.

Annotations
@Override
getCharAdvanceback to summary
public float getCharAdvance(char ch)

Implements com.sun.javafx.font.FontStrike.getCharAdvance.

Access to individual character advances are frequently needed for layout understand that advance may vary for single glyph if ligatures or kerning are enabled

Parameters
ch:char

char

Returns:float

advance of single char

Annotations
@Override
getFontResourceback to summary
public FontResource getFontResource()

Implements com.sun.javafx.font.FontStrike.getFontResource.

Annotations
@Override
getGlyphback to summary
public Glyph getGlyph(char symbol)

Implements com.sun.javafx.font.FontStrike.getGlyph.

Annotations
@Override
getGlyphback to summary
public Glyph getGlyph(int glyphCode)

Implements com.sun.javafx.font.FontStrike.getGlyph.

Annotations
@Override
getMetricsback to summary
public Metrics getMetrics()

Implements com.sun.javafx.font.FontStrike.getMetrics.

Annotations
@Override
getOutlineback to summary
public Shape getOutline(GlyphList gl, BaseTransform transform)

Implements com.sun.javafx.font.FontStrike.getOutline.

Annotations
@Override
getOutlineback to summary
pack-priv void getOutline(GlyphList gl, BaseTransform transform, Path2D p)
getQuantizedPositionback to summary
public int getQuantizedPosition(Point2D point)

Implements com.sun.javafx.font.FontStrike.getQuantizedPosition.

Doc from com.sun.javafx.font.FontStrike.getQuantizedPosition.

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.

Annotations
@Override
getSizeback to summary
public float getSize()

Implements com.sun.javafx.font.FontStrike.getSize.

Annotations
@Override
getStrikeSlotback to summary
public FontStrike getStrikeSlot(int slot)
getStrikeSlotForGlyphback to summary
public int getStrikeSlotForGlyph(int glyphCode)
getTransformback to summary
public BaseTransform getTransform()

Implements com.sun.javafx.font.FontStrike.getTransform.

Trusting caller to NOT mutate the returned result, to avoid a clone.

Annotations
@Override