org.scijava.ui
Class ARGBPlane
java.lang.Object
org.scijava.ui.ARGBPlane
public class ARGBPlane
- extends Object
Represents a plane of ARGB pixel data. Useful for passing around data during
copy/paste operations to external programs.
- Author:
- Barry DeZonia
Constructor Summary |
ARGBPlane(int width,
int height)
|
ARGBPlane(int width,
int height,
int[] data)
|
Method Summary |
int |
getAlpha(int x,
int y)
|
int |
getARGB(int x,
int y)
|
int |
getBlue(int x,
int y)
|
int[] |
getData()
|
int |
getGreen(int x,
int y)
|
int |
getHeight()
|
int |
getRed(int x,
int y)
|
int |
getWidth()
|
void |
setAlpha(int x,
int y,
int v)
|
void |
setARGB(int x,
int y,
int argb)
|
void |
setBlue(int x,
int y,
int v)
|
void |
setGreen(int x,
int y,
int v)
|
void |
setRed(int x,
int y,
int v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARGBPlane
public ARGBPlane(int width,
int height,
int[] data)
ARGBPlane
public ARGBPlane(int width,
int height)
getWidth
public int getWidth()
getHeight
public int getHeight()
getData
public int[] getData()
getARGB
public int getARGB(int x,
int y)
getAlpha
public int getAlpha(int x,
int y)
getRed
public int getRed(int x,
int y)
getGreen
public int getGreen(int x,
int y)
getBlue
public int getBlue(int x,
int y)
setARGB
public void setARGB(int x,
int y,
int argb)
setAlpha
public void setAlpha(int x,
int y,
int v)
setRed
public void setRed(int x,
int y,
int v)
setGreen
public void setGreen(int x,
int y,
int v)
setBlue
public void setBlue(int x,
int y,
int v)
Copyright © 2009–2014 SciJava. All rights reserved.