|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.cssj.sakae.opentype.FontFile
public class FontFile
TTCまたはTTFファイルへアクセスするためのクラスです。 このクラスはTTC/TTFファイルの判定を行います。
| メソッドの概要 | |
|---|---|
OpenTypeFont |
getFont()
最初のフォントを返します。 |
OpenTypeFont |
getFont(int i)
TTCに含まれるフォントを返します。 |
static FontFile |
getFontFile(File file)
|
int |
getNumFonts()
TTCに含まれるフォントの数を返します。 |
boolean |
isFontCollection()
TTCファイルであればtrueを返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
|---|
public static FontFile getFontFile(File file)
throws IOException
IOExceptionpublic boolean isFontCollection()
public int getNumFonts()
public OpenTypeFont getFont(int i)
i -
public OpenTypeFont getFont()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||