ewe.fx
Class Buffer

java.lang.Object
  extended byewe.fx.Image
      extended byewe.fx.Buffer
All Implemented Interfaces:
IImage, ImageData, ISurface

public class Buffer
extends Image

A Buffer is a type of Image used specifically for fast and frequent drawing of Images.


Field Summary
 
Fields inherited from class ewe.fx.Image
ALPHA_CHANNEL, ARGB_IMAGE, background, BLACK_AND_WHITE_IMAGE, debugImages, debugImageSize, EXACT_TYPE_IMAGE, FASTEST_DISPLAY_IMAGE, FOR_DISPLAY, freed, GRAY_SCALE_16_IMAGE, GRAY_SCALE_2_IMAGE, GRAY_SCALE_256_IMAGE, GRAY_SCALE_4_IMAGE, GRAY_SCALE_IMAGE, hasAlpha, INDEXED, INDEXED_16_IMAGE, INDEXED_2_IMAGE, INDEXED_256_IMAGE, INDEXED_4_IMAGE, INDEXED_IMAGE, MONO_IMAGE, name, numImages, RGB_IMAGE, SCALE_IMAGE, transparent, TRUE_COLOR
 
Fields inherited from interface ewe.fx.ISurface
IMAGE_SURFACE, PRINTERJOB_SURFACE, WINDOW_SURFACE
 
Fields inherited from interface ewe.fx.IImage
DISABLED, OUTLINED
 
Fields inherited from interface ewe.fx.ImageData
IS_AN_IMAGE_DATA_TYPE, SCAN_LINE_BYTE_ARRAY, SCAN_LINE_INT_ARRAY, TYPE_ARGB, TYPE_GRAY_SCALE_16, TYPE_GRAY_SCALE_2, TYPE_GRAY_SCALE_256, TYPE_GRAY_SCALE_4, TYPE_INDEXED_16, TYPE_INDEXED_2, TYPE_INDEXED_256, TYPE_INDEXED_4, TYPE_MONO, TYPE_RGB, TYPE_UNKNOWN
 
Constructor Summary
Buffer(int width, int height, int options)
           
 
Method Summary
 Graphics clear(int x, int y, int width, int height, Color c)
           
 boolean nativeClear(int x, int y, int width, int height, int value)
           
 
Methods inherited from class ewe.fx.Image
draw, enableAlpha, fixMasks, free, freeze, getBackground, getHeight, getImageBits, getImageColorTable, getImageHeight, getImageInfo, getImageInfo, getImageScanLineLength, getImageScanLines, getImageScanLineType, getImageType, getImageWidth, getNativeResource, getPixels, getWidth, invert, isWritableImage, makeGray, rotate, scale, scale, scaleStrip, setImageScanLines, setPixels, setPixels, setSize, toIcon, toIcon, toNativeImage, usesAlpha, wasDecoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Constructor Detail

Buffer

public Buffer(int width,
              int height,
              int options)
Method Detail

clear

public Graphics clear(int x,
                      int y,
                      int width,
                      int height,
                      Color c)

nativeClear

public boolean nativeClear(int x,
                           int y,
                           int width,
                           int height,
                           int value)