.. index:: pair: union; P1::ImageSdk::Color .. _doxid-union_p1_1_1_image_sdk_1_1_color: union P1::ImageSdk::Color ========================= .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include union Color { // fields float :target:`vector`[4]; float :target:`red`; float :target:`green`; float :target:`blue`; float :target:`alpha`; // construction :target:`Color`(); :target:`Color`(float r, float g, float b, float a = 1.0f); };