public class Pixel
extends java.lang.Object
Constructor and Description |
---|
Pixel(int x,
int y,
int argb) |
Pixel(int x,
int y,
int r,
int g,
int b,
int alpha) |
Modifier and Type | Method and Description |
---|---|
int |
alpha() |
int |
average() |
int |
blue() |
boolean |
equals(java.lang.Object o) |
int |
green() |
int |
hashCode() |
Pixel |
mapByComponent(java.util.function.Function<java.lang.Integer,java.lang.Integer> f) |
int |
red() |
int |
toARGBInt() |
RGBColor |
toColor() |
int |
toInt()
Deprecated.
|
java.lang.String |
toString() |
int |
x() |
int |
y() |
public Pixel(int x, int y, int argb)
public Pixel(int x, int y, int r, int g, int b, int alpha)
public int alpha()
public int red()
public int green()
public int x()
public int y()
public int blue()
public int average()
@Deprecated public int toInt()
public int toARGBInt()
public RGBColor toColor()
public Pixel mapByComponent(java.util.function.Function<java.lang.Integer,java.lang.Integer> f)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object