com.day.image.font
Class FontListEntry

java.lang.Object
  extended by com.day.image.font.FontListEntry

public class FontListEntry
extends Object

The FontListEntry class is used to describe one single entry in the list of fonts found on the platform.

Since:
coati
Author:
fmeschbe

Constructor Summary
FontListEntry(String fontProvider, String facename, int size, int style)
          Creates a new font list entry descriptor.
 
Method Summary
 String getFacename()
          Returns the font face name of this list entry
 String getFontProvider()
          Returns the name of the provider of this font
 int getSize()
          Returns the size of this font list entry, or zero if this entry represents a scalable font, such as a TrueType font.
 int getStyle()
          Returns the style flags supported by this font list entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontListEntry

public FontListEntry(String fontProvider,
                     String facename,
                     int size,
                     int style)
Creates a new font list entry descriptor.

Parameters:
facename - The name of the font represented by this font list entry.
size - The point size for this font list entry. If this value is zero, the list entry represents a scalable font, such as a TrueType font. Else the font represented by this entry only supports the size given.
style - The style flags of the font. If the font has the capability to derive several styles, the special value 0xff can be used to specify this behaviour. Else the font only supports the style given.
Method Detail

getFontProvider

public String getFontProvider()
Returns the name of the provider of this font


getFacename

public String getFacename()
Returns the font face name of this list entry

Returns:
the font face name of this list entry

getSize

public int getSize()
Returns the size of this font list entry, or zero if this entry represents a scalable font, such as a TrueType font.

Returns:
the size of this font list entry, or zero for a scalable font.

getStyle

public int getStyle()
Returns the style flags supported by this font list entry.

Returns:
the style flags supported by this font list entry.


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.