「lib-Graphics」の編集履歴(バックアップ)一覧はこちら
「lib-Graphics」(2008/10/27 (月) 17:08:37) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
*クラスライブラリ Graphics
java.awt.Graphics
1.主なメソッド
-void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) :円弧
-Boolean drawImage(Image img, int x, int y, ImageObserver observer) :画像
-void drawLine(int x1, int y1, int x2, int y2) :線
-void drawOval(int x, int y, int width, int height) :楕円
-void drawPolygon(int xPoints[], int yPoints[], int nPoints) :多角形
-void drawRect(int x, int y, int width, int height) :四角形
-void drawString(String str, int x, int y) :文字列
-void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) :塗り円弧
-void fillOval(int x, int y, int width, int height) :塗り楕円
-void fillPolygon(int xPoints[], int yPoints[], int nPoints) :塗り多角形
-void setColor(Color c) :色指定
-void setFont(Font font) :フォント指定
*クラスライブラリ Graphics
java.awt.Graphics
1.主なメソッド
-void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) :円弧
-Boolean drawImage(Image img, int x, int y, ImageObserver observer) :画像
-void drawLine(int x1, int y1, int x2, int y2) :線
-void drawOval(int x, int y, int width, int height) :楕円
-void drawPolygon(int xPoints[], int yPoints[], int nPoints) :多角形
-void drawRect(int x, int y, int width, int height) :四角形
-void drawString(String str, int x, int y) :文字列
-void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) :塗り円弧
-void fillOval(int x, int y, int width, int height) :塗り楕円
-void fillPolygon(int xPoints[], int yPoints[], int nPoints) :塗り多角形
-void setColor(Color c) :色指定
-void setFont(Font font) :フォント指定
2.色設定
-Color.white
-Color.lightGray
-Color.gray
-Color.darkGray
-Color.black
-Color.red
-Color.pink
-Color.orange
-Color.yellow
-Color.green
-Color.magenta
-Color.cyan
-Color.blue
3.フォント
-Dialog
-DialogInput
-Monospaced
-Serif
-SansSerif
-Symbol
4.フォントスタイル
-Font.PLAIN
-Font.BOLD
-Font.ITALIC
表示オプション
横に並べて表示:
変化行の前後のみ表示: