com.mebigfatguy.pixelle.eval
Class PixelleEvalCustom
java.lang.Object
com.mebigfatguy.pixelle.PixelleEval
com.mebigfatguy.pixelle.eval.PixelleEvalCustom
public class PixelleEvalCustom
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PixelleEvalCustom
public PixelleEvalCustom(PixelleImage srcImage,
IndexOutOfBoundsOption iOption,
ColorOutOfBoundsOption cOption)
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
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
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
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
Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.