next up previous
Next: 4.1 画像ファイルの読込 Up: ソフトウェア第三 講義資料 Emacs,CVS,画像処理 Previous: 3.3 ContainerのLayout

4 画像の入出力


表 6: java.awt.Imageクラス
Image () コンストラクタ
abstract int getHeight(ImageObserver observer) 画像のサイズ高さを得る
abstract int getWidth(ImageObserver observer) 画像のサイズ幅を得る
abstract ImageProducer getSource() 画像を生成するオブジェクトを得る
hline abstract Graphics getGraphics() この画像に対してdrawするための Graphicsオブジェクトを得る
public Image getScaledInstance(int width, int height, int hints) スケール画像を得る.hintsはSCALE_AREA_AVERAGING, SCALE_DEFAULT, SCALE_SMOOTHなどがある.





generated through LaTeX2HTML. M.Inaba 平成18年5月7日