APIdia Launch Partner
Top Description Fields Constructors Methods
sun.font

public Class CompositeFontDescriptor

extends Object
Class Inheritance

Encapsulates the information that 2D needs to create a composite font, the runtime representation of a logical font.

Field Summary

Modifier and TypeField and Description
private String[]
private String[]
private int
private int[]
private int[]
private String

Constructor Summary

AccessConstructor and Description
public
CompositeFontDescriptor(String
the font face name, i.e., the family name suffixed with ".plain", ".bold", ".italic", ".bolditalic".
faceName
,
int
the number of core fonts, i.e., the ones derived from a non-fallback sequence.
coreComponentCount
,
String[]
the face names for the component fonts
componentFaceNames
,
String[]
the file names for the component fonts
componentFileNames
,
int[]
an array holding lower and upper boundaries for all exclusion ranges for all component fonts
exclusionRanges
,
int[]
an array holding the limits of the sections for each component font within the previous array
exclusionRangeLimits
)

Constructs a composite font descriptor.

Method Summary

Modifier and TypeMethod and Description
public String[]
public String[]
public int
public int[]
public int[]
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

componentFaceNamesback to summary
private String[] componentFaceNames
componentFileNamesback to summary
private String[] componentFileNames
coreComponentCountback to summary
private int coreComponentCount
exclusionRangeLimitsback to summary
private int[] exclusionRangeLimits
exclusionRangesback to summary
private int[] exclusionRanges
faceNameback to summary
private String faceName

Constructor Detail

CompositeFontDescriptorback to summary
public CompositeFontDescriptor(String faceName, int coreComponentCount, String[] componentFaceNames, String[] componentFileNames, int[] exclusionRanges, int[] exclusionRangeLimits)

Constructs a composite font descriptor.

Parameters
faceName:String

the font face name, i.e., the family name suffixed with ".plain", ".bold", ".italic", ".bolditalic".

coreComponentCount:int

the number of core fonts, i.e., the ones derived from a non-fallback sequence.

componentFaceNames:String[]

the face names for the component fonts

componentFileNames:String[]

the file names for the component fonts

exclusionRanges:int[]

an array holding lower and upper boundaries for all exclusion ranges for all component fonts

exclusionRangeLimits:int[]

an array holding the limits of the sections for each component font within the previous array

Method Detail

getComponentFaceNamesback to summary
public String[] getComponentFaceNames()
getComponentFileNamesback to summary
public String[] getComponentFileNames()
getCoreComponentCountback to summary
public int getCoreComponentCount()
getExclusionRangeLimitsback to summary
public int[] getExclusionRangeLimits()
getExclusionRangesback to summary
public int[] getExclusionRanges()
getFaceNameback to summary
public String getFaceName()