APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.webkit.prism

pack-priv final Class WCFontImpl

extends WCFont
Class Inheritance
Imports
com.sun.javafx.font.CharToGlyphMapper, .FontFactory, .FontResource, .FontStrike, .PGFont, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.logging.PlatformLogger.Level, .PlatformLogger, com.sun.javafx.scene.text.TextLayout, com.sun.prism.GraphicsPipeline, com.sun.webkit.graphics.WCFont, .WCTextRun, java.util.Arrays, .HashMap

Field Summary

Modifier and TypeField and Description
private final PGFont
private static final HashMap<String, String>
private static final PlatformLogger
private FontStrike

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public WCFont
deriveFont(float size)

Implements abstract com.sun.webkit.graphics.WCFont.deriveFont.

public float
public float
public float
pack-priv static WCFont
getFont(String name, boolean bold, boolean italic, float size)

private FontStrike
public float[]
public int[]
public double
public float
public float
public Object
public WCTextRun[]
public float
public boolean
private static boolean
needsTextLayout(final int[] glyphs)

Inherited from com.sun.webkit.graphics.WCFont:
equalshashCode

Field Detail

fontback to summary
private final PGFont font
FONT_MAPback to summary
private static final HashMap<String, String> FONT_MAP
logback to summary
private static final PlatformLogger log
strikeback to summary
private FontStrike strike

Constructor Detail

WCFontImplback to summary
pack-priv WCFontImpl(PGFont font)

Method Detail

deriveFontback to summary
public WCFont deriveFont(float size)

Implements abstract com.sun.webkit.graphics.WCFont.deriveFont.

Annotations
@Override
getAscentback to summary
public float getAscent()

Implements abstract com.sun.webkit.graphics.WCFont.getAscent.

Annotations
@Override
getCapHeightback to summary
public float getCapHeight()

Implements abstract com.sun.webkit.graphics.WCFont.getCapHeight.

Annotations
@Override
getDescentback to summary
public float getDescent()

Implements abstract com.sun.webkit.graphics.WCFont.getDescent.

Annotations
@Override
getFontback to summary
pack-priv static WCFont getFont(String name, boolean bold, boolean italic, float size)
getFontStrikeback to summary
private FontStrike getFontStrike()
getGlyphBoundingBoxback to summary
public float[] getGlyphBoundingBox(int glyph)

Implements abstract com.sun.webkit.graphics.WCFont.getGlyphBoundingBox.

Annotations
@Override
getGlyphCodesback to summary
public int[] getGlyphCodes(char[] chars)

Implements abstract com.sun.webkit.graphics.WCFont.getGlyphCodes.

Annotations
@Override
getGlyphWidthback to summary
public double getGlyphWidth(int glyph)

Implements abstract com.sun.webkit.graphics.WCFont.getGlyphWidth.

Annotations
@Override
getLineGapback to summary
public float getLineGap()

Implements abstract com.sun.webkit.graphics.WCFont.getLineGap.

Annotations
@Override
getLineSpacingback to summary
public float getLineSpacing()

Implements abstract com.sun.webkit.graphics.WCFont.getLineSpacing.

Annotations
@Override
getPlatformFontback to summary
public Object getPlatformFont()

Implements abstract com.sun.webkit.graphics.WCFont.getPlatformFont.

Annotations
@Override
getTextRunsback to summary
public WCTextRun[] getTextRuns(final String str)

Implements abstract com.sun.webkit.graphics.WCFont.getTextRuns.

Annotations
@Override
getXHeightback to summary
public float getXHeight()

Implements abstract com.sun.webkit.graphics.WCFont.getXHeight.

Annotations
@Override
hasUniformLineMetricsback to summary
public boolean hasUniformLineMetrics()

Implements abstract com.sun.webkit.graphics.WCFont.hasUniformLineMetrics.

Annotations
@Override
needsTextLayoutback to summary
private static boolean needsTextLayout(final int[] glyphs)