CFx SDK Documentation 2024 SP0
|
#include <GiImage.h>
Public Member Functions | |
OdGiPixelBGRA32 () | |
OdGiPixelBGRA32 (OdUInt32 bgra) | |
OdGiPixelBGRA32 (OdUInt8 blue, OdUInt8 green, OdUInt8 red, OdUInt8 alpha) | |
OdUInt32 | getBGRA () const |
OdUInt32 | getRGBA () const |
OdUInt8 | blue () const |
OdUInt8 | green () const |
OdUInt8 | red () const |
OdUInt8 | alpha () const |
void | setBGRA (OdUInt32 bgra) |
void | setBGRA (OdUInt8 blue, OdUInt8 green, OdUInt8 red, OdUInt8 alpha) |
void | setRGBA (OdUInt32 rgba) |
void | setRGBA (OdUInt8 red, OdUInt8 green, OdUInt8 blue, OdUInt8 alpha) |
void | setBlue (OdUInt8 blue) |
void | setGreen (OdUInt8 green) |
void | setRed (OdUInt8 red) |
void | setAlpha (OdUInt8 alpha) |
This class defines pixel color parameters in RGB format, which stores an integer for red, green, and blue values, and also includes a value for alpha-shading.
Corresponding C++ library: TD_Gi
<group OdGi_Classes>
|
inline |
Constructor for the OdGiPixelBGRA32 class. Creates an object that represent a fully opaque black color.
|
inline |
Constructor for the OdGiPixelBGRA32 class. Creates an object with a specified value which represents a color in a decimal format.
bgra | [in] Color in decimal format. |
Constructor for the OdGiPixelBGRA32 class. Creates an object with specified blue, red, green and alpha values.
blue | [in] Blue color component. |
green | [in] Green color component. |
red | [in] Red color component. |
alpha | [in] Alpha color component. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Specifies a color with individual blue, green, red and alpha values.
blue | [in] Blue color component. |
green | [in] Green color component. |
red | [in] Red color component. |
alpha | [in] Alpha color component. |
Sets the color values in blue, green, red, alpha order.
Specifies a color with individual red, green, blue and alpha values.
red | [in] Red color component. |
green | [in] Green color component. |
blue | [in] Blue color component. |
alpha | [in] Alpha color component. |
Sets the color values in red, green, blue, alpha order.