Constructor and Description |
---|
RgbPixelImpl() |
RgbPixelImpl(int aRgbValue) |
RgbPixelImpl(int aAlphaPortion,
int aRedPortion,
int aGreenPortion,
int aBluePortion) |
Modifier and Type | Method and Description |
---|---|
int |
getAlphaPortion() |
int |
getBluePortion() |
int |
getGreenPortion() |
int |
getRedPortion() |
void |
setAlphaPortion(int aAlphaPortion) |
void |
setBluePortion(int aBluePortion) |
void |
setGreenPortion(int aGreenPortion) |
void |
setRedPortion(int aRedPortion) |
void |
setRgbValue(int aRgbValue) |
int |
toRgbValue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withAlphaPortion, withBluePortion, withGreenPortion, withRedPortion, withRgbValue
public RgbPixelImpl()
public RgbPixelImpl(int aAlphaPortion, int aRedPortion, int aGreenPortion, int aBluePortion)
public RgbPixelImpl(int aRgbValue)
public int getAlphaPortion()
getAlphaPortion
in interface RgbPixel
public int getRedPortion()
getRedPortion
in interface RgbPixel
public int getGreenPortion()
getGreenPortion
in interface RgbPixel
public int getBluePortion()
getBluePortion
in interface RgbPixel
public int toRgbValue()
toRgbValue
in interface RgbPixel
public void setRgbValue(int aRgbValue)
setRgbValue
in interface RgbPixel
public void setAlphaPortion(int aAlphaPortion)
setAlphaPortion
in interface RgbPixel
public void setRedPortion(int aRedPortion)
setRedPortion
in interface RgbPixel
public void setGreenPortion(int aGreenPortion)
setGreenPortion
in interface RgbPixel
public void setBluePortion(int aBluePortion)
setBluePortion
in interface RgbPixel
Copyright © 2016. All rights reserved.