FileDocCategorySizeDatePackage
AbstractSurface.javaAPI DocphoneME MR2 API (J2ME)4401Wed May 02 18:00:36 BST 2007com.sun.pisces

AbstractSurface

public abstract class AbstractSurface extends Object implements Surface, NativeFinalization

Fields Summary
protected long
nativePtr
private final NativeFinalizer
finalizer
Constructors Summary
protected AbstractSurface()


      
        this.finalizer = NativeFinalizer.createInstance(this);
    
Methods Summary
public SurfaceDestinationcreateSurfaceDestination()

        return new AbstractSurfaceDestination();
    
private native voiddrawRGBImpl(int[] argb, int offset, int scanLength, int x, int y, int width, int height, float opacity)

private native voiddrawSurfaceImpl(NativeSurface ps, int srcX, int srcY, int dstX, int dstY, int width, int height, float opacity)

public native intgetHeight()

public native voidgetRGB(int[] argb, int offset, int scanLength, int x, int y, int width, int height)

public native intgetWidth()

public native voidnativeFinalize()

public native voidsetRGB(int[] argb, int offset, int scanLength, int x, int y, int width, int height)