com.mebigfatguy.pixelle.eval
Class PixelleEvalByteGray
java.lang.Object
com.mebigfatguy.pixelle.PixelleEval
com.mebigfatguy.pixelle.eval.PixelleEvalByteGray
public class PixelleEvalByteGray
- extends PixelleEval
Method Summary |
double |
getBlueValue(int x,
int y)
template method to get the blue value at a specific x and y |
double |
getGreenValue(int x,
int y)
template method to get the green value at a specific x and y |
double |
getRedValue(int x,
int y)
template method to get the red value at a specific x and y |
double |
getTransparencyValue(int x,
int y)
template method to get the transparency value at a specific x and y |
void |
setValue(int x,
int y,
char pixelSpec,
double value)
sets the pixel value at the specified x, y |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PixelleEvalByteGray
public PixelleEvalByteGray(PixelleImage srcImage,
IndexOutOfBoundsOption iOption,
ColorOutOfBoundsOption cOption)
getRedValue
public double getRedValue(int x,
int y)
- Description copied from class:
PixelleEval
- template method to get the red value at a specific x and y
- Specified by:
getRedValue
in class PixelleEval
- Parameters:
x
- the x coordinatey
- the y coordinate
- Returns:
- the pixel red value at the given coordinate
getGreenValue
public double getGreenValue(int x,
int y)
- Description copied from class:
PixelleEval
- template method to get the green value at a specific x and y
- Specified by:
getGreenValue
in class PixelleEval
- Parameters:
x
- the x coordinatey
- the y coordinate
- Returns:
- the pixel green value at the given coordinate
getBlueValue
public double getBlueValue(int x,
int y)
- Description copied from class:
PixelleEval
- template method to get the blue value at a specific x and y
- Specified by:
getBlueValue
in class PixelleEval
- Parameters:
x
- the x coordinatey
- the y coordinate
- Returns:
- the pixel blue value at the given coordinate
getTransparencyValue
public double getTransparencyValue(int x,
int y)
- Description copied from class:
PixelleEval
- template method to get the transparency value at a specific x and y
- Specified by:
getTransparencyValue
in class PixelleEval
- Parameters:
x
- the x coordinatey
- the y coordinate
- Returns:
- the pixel transparency value at the given coordinate
setValue
public void setValue(int x,
int y,
char pixelSpec,
double value)
- Description copied from class:
PixelleEval
- sets the pixel value at the specified x, y
- Overrides:
setValue
in class PixelleEval
- Parameters:
x
- the x coordinatey
- the y coordinatepixelSpec
- the component to setvalue
- the value to set
Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.