A B C D F G I M P R S T U X Y

A

a - Variable in class com.nerius.img.ImageConsumerChain
 
add(ImageConsumer, ImageConsumer) - Static method in class com.nerius.img.ImageConsumerChain
 
addConsumer(ImageConsumer) - Method in class com.nerius.img.AnimBuffProducer
 
addConsumer(ImageConsumer) - Method in class com.nerius.img.BuffProducer
 
alpha - Variable in class com.nerius.grafx.FloatColor
Fully opaque colors have an alpha of 1.0.
AnimBuffProducer - Class in com.nerius.img
java.awt.image.MemoryImageSource wins the "worst class ever written" award; this class and BuffProducer intend to outrobustify MemoryImageSource.
AnimBuffProducer(int[], int, int, ColorModel) - Constructor for class com.nerius.img.AnimBuffProducer
Orientation: imagePixel(x, y) = pix[y * width + x].

B

b - Variable in class com.nerius.img.ImageConsumerChain
 
blue - Variable in class com.nerius.grafx.FloatColor
 
BuffProducer - Class in com.nerius.img
This ImageProducer represents a static image.
BuffProducer(int[], int, int, ColorModel) - Constructor for class com.nerius.img.BuffProducer
 

C

clear() - Method in interface com.nerius.grafx.d2.FloatGraphics
Paints the current clip area with the current color.
clear() - Method in class com.nerius.grafx.d2.RasterFloatGraphics
 
clearScanLine(int, int) - Method in interface com.nerius.grafx.d2.RasterFloatPixBuff
The difference between this method and drawScanLine() is that this method is triggered by a call to RasterFloatGraphics.clear().
ClipRectangle - Class in com.nerius.grafx
Area against which objects' rendering will be clipped.
ClipRectangle(double, double, double, double) - Constructor for class com.nerius.grafx.ClipRectangle
 
com.nerius.grafx - package com.nerius.grafx
 
com.nerius.grafx.d2 - package com.nerius.grafx.d2
 
com.nerius.grafx.d2.demo - package com.nerius.grafx.d2.demo
 
com.nerius.img - package com.nerius.img
 

D

destroy() - Method in class com.nerius.grafx.d2.demo.GrafxLineDrawDemo
 
destroy() - Method in class com.nerius.grafx.d2.demo.GrafxPolyFillDemo
 
drawLine(double, double, double, double) - Method in interface com.nerius.grafx.d2.FloatGraphics
 
drawLine(double, double, double, double) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
 
drawPixel(int) - Method in interface com.nerius.grafx.d2.RasterFloatPixBuff
This method is triggered by calls to RasterFloatGraphics.drawPoint() and RasterFloatGraphics.drawLine().
drawPoint(double, double) - Method in interface com.nerius.grafx.d2.FloatGraphics
 
drawPoint(double, double) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
 
drawScanLine(int, int) - Method in interface com.nerius.grafx.d2.RasterFloatPixBuff
This method is triggered by a call to RasterFloatGraphics.fillPolygon().

F

fillPolygon(double[], double[], int, int) - Method in interface com.nerius.grafx.d2.FloatGraphics
Fills in the interior of the polygon defined by the vertices given.
fillPolygon(double[], double[], int, int) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
Uses the even-odd fill rule for self-intersecting polygons.
FloatColor - Class in com.nerius.grafx
Each of alpha, red, green, and blue shall be in the range [0,1].
FloatColor(double, double, double, double) - Constructor for class com.nerius.grafx.FloatColor
 
FloatColor(double, double, double) - Constructor for class com.nerius.grafx.FloatColor
 
FloatGraphics - Interface in com.nerius.grafx.d2
Represents a simple 2D floating point graphics API.

G

getClip() - Method in interface com.nerius.grafx.d2.FloatGraphics
The return value of this method is not necessarily equal to the clip previously set by setClip(); the clip returned here is no larger than the entire area that is visible by this graphics context.
getClip() - Method in class com.nerius.grafx.d2.RasterFloatGraphics
 
getColor() - Method in interface com.nerius.grafx.d2.FloatGraphics
Returns the color that was previously set via setColor().
getColor() - Method in class com.nerius.grafx.d2.RasterFloatGraphics
 
getColorModel() - Method in class com.nerius.img.AnimBuffProducer
 
getColorModel() - Method in class com.nerius.img.BuffProducer
 
getHeight() - Method in interface com.nerius.grafx.d2.RasterFloatPixBuff
 
getHeight() - Method in class com.nerius.img.AnimBuffProducer
 
getHeight() - Method in class com.nerius.img.BuffProducer
 
getIntColor() - Method in class com.nerius.grafx.d2.RasterFloatGraphics
 
getModifiedArea() - Method in class com.nerius.grafx.d2.RasterFloatGraphics
Returns a Rectangle iRect which is as small as possible and which, for every pixel (n, m) modified since the last call to startModifiedAreaCalculation(), returns true in a call iRect.contains(n, m) (if the initial Rectangle passed into startModifiedAreaCalculation() represented a nonempty area, then all pixel points contained in that rectangle count as modified).
getWidth() - Method in interface com.nerius.grafx.d2.RasterFloatPixBuff
 
getWidth() - Method in class com.nerius.img.AnimBuffProducer
 
getWidth() - Method in class com.nerius.img.BuffProducer
 
GrafxLineDrawDemo - Class in com.nerius.grafx.d2.demo
A demonstration of how to use the com.nerius.grafx.d2 package.
GrafxLineDrawDemo() - Constructor for class com.nerius.grafx.d2.demo.GrafxLineDrawDemo
 
GrafxPolyFillDemo - Class in com.nerius.grafx.d2.demo
A demonstration of how to use the com.nerius.grafx.d2 package.
GrafxPolyFillDemo() - Constructor for class com.nerius.grafx.d2.demo.GrafxPolyFillDemo
 
green - Variable in class com.nerius.grafx.FloatColor
 

I

imageComplete(int) - Method in class com.nerius.img.ImageConsumerChain
 
ImageConsumerChain - Class in com.nerius.img
Analagous to java.awt.AWTEventMulticaster for chaining together java.awt.image.ImageConsumer objects.
ImageConsumerChain(ImageConsumer, ImageConsumer) - Constructor for class com.nerius.img.ImageConsumerChain
 
init() - Method in class com.nerius.grafx.d2.demo.GrafxLineDrawDemo
 
init() - Method in class com.nerius.grafx.d2.demo.GrafxPolyFillDemo
 
init() - Method in class com.nerius.grafx.d2.demo.SimpleDemo
 
isConsumer(ImageConsumer) - Method in class com.nerius.img.AnimBuffProducer
 
isConsumer(ImageConsumer) - Method in class com.nerius.img.BuffProducer
 
isConsumer(ImageConsumer, ImageConsumer) - Static method in class com.nerius.img.ImageConsumerChain
 
isConsumer(ImageConsumer) - Method in class com.nerius.img.ImageConsumerChain
 

M

m_pix - Variable in class com.nerius.img.AnimBuffProducer
 
m_pix - Variable in class com.nerius.img.BuffProducer
 

P

paint(Graphics) - Method in class com.nerius.grafx.d2.demo.GrafxLineDrawDemo
 
paint(Graphics) - Method in class com.nerius.grafx.d2.demo.GrafxPolyFillDemo
 
paint(Graphics) - Method in class com.nerius.grafx.d2.demo.SimpleDemo
 

R

RasterFloatGraphics - Class in com.nerius.grafx.d2
An implementation of FloatGraphics that converts operations into pixel data.
RasterFloatGraphics(int[], int, int) - Constructor for class com.nerius.grafx.d2.RasterFloatGraphics
Array pix will be used to store pixel information; the array's length must therefore be at least width * height.
RasterFloatGraphics(RasterFloatPixBuff) - Constructor for class com.nerius.grafx.d2.RasterFloatGraphics
 
RasterFloatPixBuff - Interface in com.nerius.grafx.d2
This is a hook to do custom pixel computation with RasterFloatGraphics.
red - Variable in class com.nerius.grafx.FloatColor
 
remove(ImageConsumer, ImageConsumer) - Static method in class com.nerius.img.ImageConsumerChain
 
remove(ImageConsumer) - Method in class com.nerius.img.ImageConsumerChain
 
removeConsumer(ImageConsumer) - Method in class com.nerius.img.AnimBuffProducer
 
removeConsumer(ImageConsumer) - Method in class com.nerius.img.BuffProducer
 
requestTopDownLeftRightResend(ImageConsumer) - Method in class com.nerius.img.AnimBuffProducer
 
requestTopDownLeftRightResend(ImageConsumer) - Method in class com.nerius.img.BuffProducer
 
run() - Method in class com.nerius.grafx.d2.demo.GrafxLineDrawDemo
 
run() - Method in class com.nerius.grafx.d2.demo.GrafxPolyFillDemo
 

S

setClip(ClipRectangle) - Method in interface com.nerius.grafx.d2.FloatGraphics
The clip determines how much of an object [to be rendered] is visible.
setClip(ClipRectangle) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
setClip(null) sets the clip to be the entire image dimension.
setColor(FloatColor) - Method in interface com.nerius.grafx.d2.FloatGraphics
For drawing points, drawing lines, and filling polygons, how non-opaque colors are handled is up to the implementation of this interface.
setColor(FloatColor) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
 
setColor(int) - Method in interface com.nerius.grafx.d2.RasterFloatPixBuff
0xaarrggbb.
setColorModel(ColorModel) - Method in class com.nerius.img.ImageConsumerChain
 
setDimensions(int, int) - Method in class com.nerius.img.ImageConsumerChain
 
setHints(int) - Method in class com.nerius.img.ImageConsumerChain
 
setIntColor(int) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
Bits 24-31 are alpha, 16-23 are red, 8-15 are green, 0-7 are blue.
setPixels(int, int, int, int, ColorModel, byte[], int, int) - Method in class com.nerius.img.ImageConsumerChain
 
setPixels(int, int, int, int, ColorModel, int[], int, int) - Method in class com.nerius.img.ImageConsumerChain
 
setProperties(Hashtable) - Method in class com.nerius.img.ImageConsumerChain
 
setRectClip(Rectangle) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
Sets the clip area to be such that only pixels (n, m) for which rect.contains(n, m) == true are allowed to be modified.
SimpleDemo - Class in com.nerius.grafx.d2.demo
A demonstration of how to use the com.nerius.grafx.d2 package.
SimpleDemo() - Constructor for class com.nerius.grafx.d2.demo.SimpleDemo
 
startModifiedAreaCalculation(Rectangle) - Method in class com.nerius.grafx.d2.RasterFloatGraphics
Starts a modified area calculation if rect is not null, and stops such a calculation if rect is null.
startProduction(ImageConsumer) - Method in class com.nerius.img.AnimBuffProducer
 
startProduction(ImageConsumer) - Method in class com.nerius.img.BuffProducer
 

T

triggerFrame(Rectangle) - Method in class com.nerius.img.AnimBuffProducer
The current state of the image will be pushed through to all registered ImageConsumer objects as the next frame in a multi-frame image when this method is called.

U

update(Graphics) - Method in class com.nerius.grafx.d2.demo.GrafxLineDrawDemo
 
update(Graphics) - Method in class com.nerius.grafx.d2.demo.GrafxPolyFillDemo
 

X

xMax - Variable in class com.nerius.grafx.ClipRectangle
 
xMin - Variable in class com.nerius.grafx.ClipRectangle
 

Y

yMax - Variable in class com.nerius.grafx.ClipRectangle
 
yMin - Variable in class com.nerius.grafx.ClipRectangle
 

A B C D F G I M P R S T U X Y