public interface RgbPixel
| Modifier and Type | Method and Description |
|---|---|
int |
getAlphaPortion()
Gets the alpha portion.
|
int |
getBluePortion()
Gets the blue portion.
|
int |
getGreenPortion()
Gets the green portion.
|
int |
getRedPortion()
Gets the red portion.
|
void |
setAlphaPortion(int aAlphaPortion)
Sets the alpha portion.
|
void |
setBluePortion(int aBluePortion)
Sets the blue portion.
|
void |
setGreenPortion(int aGreenPortion)
Sets the green portion.
|
void |
setRedPortion(int aRedPortion)
Sets the red portion.
|
void |
setRgbValue(int aRgbValue)
Sets the rgb value.
|
int |
toRgbValue()
To rgb value.
|
default RgbPixel |
withAlphaPortion(int aAlphaPortion)
With alpha portion.
|
default RgbPixel |
withBluePortion(int aBluePortion)
With blue portion.
|
default RgbPixel |
withGreenPortion(int aGreenPortion)
With green portion.
|
default RgbPixel |
withRedPortion(int aRedPortion)
With red portion.
|
default RgbPixel |
withRgbValue(int aRgbValue)
With rgb value.
|
int getAlphaPortion()
int getRedPortion()
int getGreenPortion()
int getBluePortion()
int toRgbValue()
void setAlphaPortion(int aAlphaPortion)
aAlphaPortion - the new alpha portionvoid setRedPortion(int aRedPortion)
aRedPortion - the new red portionvoid setGreenPortion(int aGreenPortion)
aGreenPortion - the new green portionvoid setBluePortion(int aBluePortion)
aBluePortion - the new blue portionvoid setRgbValue(int aRgbValue)
aRgbValue - the new rgb valuedefault RgbPixel withAlphaPortion(int aAlphaPortion)
aAlphaPortion - the alpha portiondefault RgbPixel withRedPortion(int aRedPortion)
aRedPortion - the red portiondefault RgbPixel withGreenPortion(int aGreenPortion)
aGreenPortion - the green portiondefault RgbPixel withBluePortion(int aBluePortion)
aBluePortion - the blue portiondefault RgbPixel withRgbValue(int aRgbValue)
aRgbValue - the rgb valueCopyright © 2018. All rights reserved.