.. index:: pair: struct; EE::UI::RadialGradientDrawable::ColorStop .. _doxid-struct_e_e_1_1_u_i_1_1_radial_gradient_drawable_1_1_color_stop: struct EE::UI::RadialGradientDrawable::ColorStop ================================================ .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ColorStop { // fields :ref:`Color` :target:`color`; :ref:`Float` :target:`value` { 0 }; :ref:`GradientUnit` :target:`unit` { :ref:`CSS::StyleSheetLength::Percentage` }; // construction :target:`ColorStop`(); :target:`ColorStop`(:ref:`Float` val, const :ref:`Color`& col, :ref:`GradientUnit` u = :ref:`CSS::StyleSheetLength::Percentage`); // methods :ref:`Float` :target:`getNormalized`(:ref:`Float` gradientRayLength) const; };