APIdia Launch Partner
Top Fields Methods
com.sun.javafx.font

public Interface CompositeFontResource

extends FontResource
Known Direct Implementers
com.sun.javafx.font.FallbackResource, com.sun.javafx.font.LogicalFont, com.sun.javafx.font.PrismCompositeFontResource

Field Summary

Inherited from com.sun.javafx.font.FontResource:
AA_GREYSCALEAA_LCDAFRCCLIGCSWHDLIGFRACHLIGKERNLIGALIGATURESNALTRLIGRUBYSALTSMCPSS01SS02SS03SS04SS05SS06SS07SWSHZERO

Method Summary

Modifier and TypeMethod and Description
public default int
public int
public int
getSlotForFont(String fontName)

Returns the slot for the given font name.

public FontResource
getSlotResource(int slot)

public default boolean
Inherited from com.sun.javafx.font.FontResource:
getAdvancegetDefaultAAModegetFamilyNamegetFeaturesgetFileNamegetFullNamegetGlyphBoundingBoxgetGlyphMappergetLocaleFamilyNamegetLocaleFullNamegetLocaleStyleNamegetPeergetPSNamegetStrikegetStrikegetStrikeMapgetStyleNameisBoldisEmbeddedFontisItalicsetPeer

Method Detail

addSlotFontback to summary
public default int addSlotFont(FontResource font)
getNumSlotsback to summary
public int getNumSlots()
getSlotForFontback to summary
public int getSlotForFont(String fontName)

Returns the slot for the given font name. Adds fontName as a new fallback font if needed.

getSlotResourceback to summary
public FontResource getSlotResource(int slot)
isColorGlyphback to summary
public default boolean isColorGlyph(int glyphCode)

Implements com.sun.javafx.font.FontResource.isColorGlyph.

Annotations
@Override