クラス
java.awt.font.GlyphVectorの使用
GlyphVectorを使用するパッケージ
パッケージ
説明
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
フォント関連のクラスおよびインタフェースを提供します。
-
java.awtでのGlyphVectorの使用
GlyphVectorを返すjava.awtのメソッド修飾子と型メソッド説明Font.createGlyphVector(FontRenderContext frc, char[] chars) このFont内のUnicode cmapに基づいて文字からグリフに1対1にマッピングすることによって、GlyphVectorを作成します。Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes) このFont内のUnicode cmapに基づいて文字からグリフに1対1にマッピングすることによって、GlyphVectorを作成します。Font.createGlyphVector(FontRenderContext frc, String str) このFont内のUnicode cmapに基づいて文字からグリフに1対1にマッピングすることによって、GlyphVectorを作成します。Font.createGlyphVector(FontRenderContext frc, CharacterIterator ci) このFont内のUnicode cmapに基づいて指定された文字からグリフに1対1にマッピングすることによって、GlyphVectorを作成します。Font.layoutGlyphVector(FontRenderContext frc, char[] text, int start, int limit, int flags) 可能であればテキストの完全なレイアウトを実行して、新しいGlyphVectorオブジェクトを返します。型GlyphVectorのパラメータを持つjava.awtのメソッド修飾子と型メソッド説明abstract voidGraphics2D.drawGlyphVector(GlyphVector g, float x, float y) Graphics2Dコンテキストの描画属性を使用して、指定されたGlyphVectorのテキストを描画します。 -
java.awt.fontでのGlyphVectorの使用
型GlyphVectorのパラメータを持つjava.awt.fontのメソッド修飾子と型メソッド説明abstract booleanGlyphVector.equals(GlyphVector set) 指定されたGlyphVectorがこのGlyphVectorと厳密に等しいかどうかを判定します。