http://www.eteks.com

com.eteks.java2d
クラス PJABufferedImage

java.lang.Object
  |
  +--java.awt.Image
        |
        +--java.awt.image.BufferedImage
              |
              +--com.eteks.java2d.PJABufferedImage
すべての実装インタフェース:
java.awt.image.RenderedImage, java.awt.image.WritableRenderedImage

public class PJABufferedImage
extends java.awt.image.BufferedImage

Pure Java AWT BufferedImage implementation.

When drawing in images of class java.awt.image.BufferedImage, .pjaf font files are not used (other fonts already exist).
java.awt.image.BufferedImage and thus PJABufferedImage classes require awt library loading. Java2D can work with PJA only with JVM version >= 1.2.

導入されたバージョン:
PJA2.0
バージョン:
2.1
作成者:
Emmanuel Puybaret
関連項目:
PJAGraphicsEnvironment

クラス java.awt.image.BufferedImage から継承したフィールド
TYPE_3BYTE_BGR, TYPE_4BYTE_ABGR, TYPE_4BYTE_ABGR_PRE, TYPE_BYTE_BINARY, TYPE_BYTE_GRAY, TYPE_BYTE_INDEXED, TYPE_CUSTOM, TYPE_INT_ARGB, TYPE_INT_ARGB_PRE, TYPE_INT_BGR, TYPE_INT_RGB, TYPE_USHORT_555_RGB, TYPE_USHORT_565_RGB, TYPE_USHORT_GRAY
 
クラス java.awt.Image から継承したフィールド
SCALE_AREA_AVERAGING, SCALE_DEFAULT, SCALE_FAST, SCALE_REPLICATE, SCALE_SMOOTH, UndefinedProperty
 
コンストラクタの概要
PJABufferedImage(java.awt.image.ColorModel cm, java.awt.image.WritableRaster raster, boolean isRasterPremultiplied, java.util.Hashtable properties)
          Same constructor as BufferedImage.
PJABufferedImage(int width, int height, int imageType)
          Same constructor as BufferedImage.
PJABufferedImage(int width, int height, int imageType, java.awt.image.IndexColorModel cm)
          Same constructor as BufferedImage.
 
メソッドの概要
 java.awt.Graphics2D createGraphics()
          Returns an instance of Graphics2D to draw in the image.
 java.awt.image.BufferedImage getSubimage(int x, int y, int w, int h)
          Overriden to return an instance of PJABufferedImage.
 
クラス java.awt.image.BufferedImage から継承したメソッド
addTileObserver, coerceData, copyData, flush, getAlphaRaster, getColorModel, getData, getData, getGraphics, getHeight, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getProperty, getPropertyNames, getRaster, getRGB, getRGB, getSampleModel, getSource, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getType, getWidth, getWidth, getWritableTile, getWritableTileIndices, hasTileWriters, isAlphaPremultiplied, isTileWritable, releaseWritableTile, removeTileObserver, setData, setRGB, setRGB, toString
 
クラス java.awt.Image から継承したメソッド
getScaledInstance
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

PJABufferedImage

public PJABufferedImage(int width,
                        int height,
                        int imageType)
Same constructor as BufferedImage.

PJABufferedImage

public PJABufferedImage(int width,
                        int height,
                        int imageType,
                        java.awt.image.IndexColorModel cm)
Same constructor as BufferedImage.

PJABufferedImage

public PJABufferedImage(java.awt.image.ColorModel cm,
                        java.awt.image.WritableRaster raster,
                        boolean isRasterPremultiplied,
                        java.util.Hashtable properties)
Same constructor as BufferedImage.
メソッドの詳細

createGraphics

public java.awt.Graphics2D createGraphics()
Returns an instance of Graphics2D to draw in the image. createGraphics (); returns the Graphics instance returned by the method createGraphics () of PJAGraphicsEnvironment class, if super.createGraphics () failed because for exemple it was impossible to change java.awt.graphicsenv system property.
オーバーライド:
クラス java.awt.image.BufferedImage 内の createGraphics

getSubimage

public java.awt.image.BufferedImage getSubimage(int x,
                                                int y,
                                                int w,
                                                int h)
Overriden to return an instance of PJABufferedImage.
オーバーライド:
クラス java.awt.image.BufferedImage 内の getSubimage

© 1997-2001 eTeks - All rights reserved