AbstractSurfacepublic 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 SurfaceDestination | createSurfaceDestination()
return new AbstractSurfaceDestination();
| private native void | drawRGBImpl(int[] argb, int offset, int scanLength, int x, int y, int width, int height, float opacity)
| private native void | drawSurfaceImpl(NativeSurface ps, int srcX, int srcY, int dstX, int dstY, int width, int height, float opacity)
| public native int | getHeight()
| public native void | getRGB(int[] argb, int offset, int scanLength, int x, int y, int width, int height)
| public native int | getWidth()
| public native void | nativeFinalize()
| public native void | setRGB(int[] argb, int offset, int scanLength, int x, int y, int width, int height)
|
|