public class FValuePixel extends ValuePixel<Float>
| Modifier and Type | Class and Description |
|---|---|
static class |
FValuePixel.ReverseValueComparator
Comparator for comparing FValuePixels based on
the reversed natural order of their values. |
static class |
FValuePixel.ValueComparator
Comparator for comparing FValuePixels based on
the natural order of their values. |
| Modifier and Type | Field and Description |
|---|---|
float |
value
The value of the pixel
|
| Constructor and Description |
|---|
FValuePixel(int x,
int y)
Default constructor
|
FValuePixel(int x,
int y,
float v)
Constructor that takes the location and value of the
pixel.
|
| Modifier and Type | Method and Description |
|---|---|
Float |
getValue()
Get the value of this pixel.
|
String |
toString() |
asciiHeader, binaryHeader, clone, copy, copyFrom, equals, getDimensions, getOrdinate, getX, getY, hashCode, minus, readASCII, readBinary, setOrdinate, setX, setY, transform, transformInplace, translate, translate, writeASCII, writeBinarypublic float value
public FValuePixel(int x, int y)
x - X-location of the pixely - Y-location of the pixelpublic FValuePixel(int x, int y, float v)
x - X-location of the pixely - Y-location of the pixelv - value of the pixelpublic String toString()
toString in class PixelObject.toString()public Float getValue()
ValuePixelgetValue in class ValuePixel<Float>