|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.model.versioning.ImageProxy
public final class ImageProxy
Proxy for an ImageData object in order to avoid depdendency to SWT.
Method Summary | |
---|---|
static ImageProxy |
create()
Creates an image proxy. |
int |
getBlueMask()
Returns the blue mask for a Palette . |
byte[] |
getData()
|
int |
getDepth()
|
int |
getGreenMask()
Returns the green mask for a Palette . |
int |
getHeight()
|
int |
getRedMask()
Returns the red mask for a Palette . |
int |
getScanlinePad()
|
int |
getWidth()
|
ImageProxy |
setBlueMask(int mask)
Sets the blue mask for a Palette . |
ImageProxy |
setData(byte[] data)
Sets the actual image data. |
ImageProxy |
setDepth(int depth)
Sets the color depth. |
ImageProxy |
setGreenMask(int mask)
Sets the green mask for a Palette . |
ImageProxy |
setHeight(int height)
Sets the height of an image. |
ImageProxy |
setRedMask(int mask)
Sets the red mask for a Palette . |
ImageProxy |
setScanlinePad(int scanlinePad)
Sets the scanline pad. |
void |
setWidth(int width)
|
ImageProxy |
setWitdh(int width)
Sets the width of an image. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ImageProxy create()
public ImageProxy setWitdh(int width)
width
- the width
ImageProxy
public ImageProxy setHeight(int height)
height
- the height
ImageProxy
public ImageProxy setDepth(int depth)
depth
- the color depth
ImageProxy
public ImageProxy setScanlinePad(int scanlinePad)
scanlinePad
- the scanline pad
ImageProxy
public ImageProxy setData(byte[] data)
data
- the image data as a byte array
ImageProxy
public int getWidth()
public void setWidth(int width)
width
- the width to setpublic int getHeight()
public byte[] getData()
public int getDepth()
public int getScanlinePad()
public int getRedMask()
Palette
.
public int getGreenMask()
Palette
.
public int getBlueMask()
Palette
.
public ImageProxy setRedMask(int mask)
Palette
.
mask
- the red mask
ImageProxy
public ImageProxy setGreenMask(int mask)
Palette
.
mask
- the green mask
ImageProxy
public ImageProxy setBlueMask(int mask)
Palette
.
mask
- the blue mask
ImageProxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |