|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sdljava.video.SDLPixelFormat
public class SDLPixelFormat
Stores surface format information
Also see the documentation here: SDL_PixelFormat
Field Summary | |
---|---|
(package private) SDL_PixelFormat |
swigPixelFormat
|
Constructor Summary | |
---|---|
protected |
SDLPixelFormat(SDL_PixelFormat f)
Creates a new SDLPixelFormat instance. |
Method Summary | |
---|---|
short |
getALoss()
Gets the value of aLoss |
short |
getAlpha()
Gets the value of alpha |
long |
getAMask()
Gets the value of aMask |
short |
getAShift()
Gets the value of aShift |
short |
getBitsPerPixel()
Gets the value of bitsPerPixel |
short |
getBLoss()
Gets the value of bLoss |
long |
getBMask()
Gets the value of bMask |
short |
getBShift()
Gets the value of bShift |
short |
getBytesPerPixel()
Gets the value of bytesPerPixel |
long |
getColorKey()
Gets the value of colorKey |
short |
getGLoss()
Gets the value of gLoss |
long |
getGMask()
Gets the value of gMask |
short |
getGShift()
Gets the value of gShift |
java.util.List |
getPalette()
Gets the value of palette |
short |
getRLoss()
Gets the value of rLoss |
long |
getRMask()
Gets the value of rMask |
int |
getRShift()
Gets the value of rShift |
protected SDL_PixelFormat |
getSwigPixelFormat()
|
void |
setALoss(short argALoss)
Sets the value of aLoss |
void |
setAlpha(short argAlpha)
Sets the value of alpha |
void |
setAMask(long argAMask)
Sets the value of aMask |
void |
setAShift(short argAShift)
Sets the value of aShift |
void |
setBitsPerPixel(short argBitsPerPixel)
Sets the value of bitsPerPixel |
void |
setBLoss(short argBLoss)
Sets the value of bLoss |
void |
setBMask(long argBMask)
Sets the value of bMask |
void |
setBShift(short argBShift)
Sets the value of bShift |
void |
setBytesPerPixel(short argBytesPerPixel)
Sets the value of bytesPerPixel |
void |
setColorKey(long argColorKey)
Sets the value of colorKey |
void |
setGLoss(short argGLoss)
Sets the value of gLoss |
void |
setGMask(long argGMask)
Sets the value of gMask |
void |
setGShift(short argGShift)
Sets the value of gShift |
void |
setRLoss(short argRLoss)
Sets the value of rLoss |
void |
setRMask(long argRMask)
Sets the value of rMask |
void |
setRShift(short argRShift)
Sets the value of rShift |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
SDL_PixelFormat swigPixelFormat
Constructor Detail |
---|
protected SDLPixelFormat(SDL_PixelFormat f)
SDLPixelFormat
instance.
Method Detail |
---|
protected SDL_PixelFormat getSwigPixelFormat()
public java.util.List getPalette()
public short getBitsPerPixel()
public void setBitsPerPixel(short argBitsPerPixel)
argBitsPerPixel
- Value to assign to this.bitsPerPixelpublic short getBytesPerPixel()
public void setBytesPerPixel(short argBytesPerPixel)
argBytesPerPixel
- Value to assign to this.bytesPerPixelpublic short getRLoss()
public void setRLoss(short argRLoss)
argRLoss
- Value to assign to this.rLosspublic short getGLoss()
public void setGLoss(short argGLoss)
argGLoss
- Value to assign to this.gLosspublic short getALoss()
public void setALoss(short argALoss)
argALoss
- Value to assign to this.aLosspublic int getRShift()
public void setRShift(short argRShift)
argRShift
- Value to assign to this.rShiftpublic short getGShift()
public void setGShift(short argGShift)
argGShift
- Value to assign to this.gShiftpublic short getBShift()
public void setBShift(short argBShift)
argBShift
- Value to assign to this.bShiftpublic short getAShift()
public void setAShift(short argAShift)
argAShift
- Value to assign to this.aShiftpublic long getRMask()
public void setRMask(long argRMask)
argRMask
- Value to assign to this.rMaskpublic long getGMask()
public void setGMask(long argGMask)
argGMask
- Value to assign to this.gMaskpublic long getBMask()
public void setBMask(long argBMask)
argBMask
- Value to assign to this.bMaskpublic long getAMask()
public void setAMask(long argAMask)
argAMask
- Value to assign to this.aMaskpublic long getColorKey()
public void setColorKey(long argColorKey)
argColorKey
- Value to assign to this.colorKeypublic short getAlpha()
public void setAlpha(short argAlpha)
argAlpha
- Value to assign to this.alphapublic short getBLoss()
public void setBLoss(short argBLoss)
argBLoss
- Value to assign to this.bLosspublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |