.. index:: pair: class; EE::UI::RadialGradientDrawable .. _doxid-class_e_e_1_1_u_i_1_1_radial_gradient_drawable: class EE::UI::RadialGradientDrawable ==================================== .. toctree:: :hidden: enum_EE_UI_RadialGradientDrawable_Extent.rst enum_EE_UI_RadialGradientDrawable_ShapeType.rst struct_EE_UI_RadialGradientDrawable_ColorStop.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class RadialGradientDrawable: public :ref:`EE::Graphics::Drawable` { public: // typedefs typedef :ref:`CSS::StyleSheetLength` :target:`Length`; typedef :ref:`CSS::StyleSheetLength::Unit` :target:`GradientUnit`; // enums enum :ref:`Extent`; enum :ref:`ShapeType`; // structs struct :ref:`ColorStop`; // construction :target:`RadialGradientDrawable`(:ref:`Graphics::Drawable::Type` drawableType = :ref:`Graphics::Drawable::RADIALGRADIENT`); // methods static RadialGradientDrawable* :target:`New`(); static RadialGradientDrawable* :target:`NewRepeating`(); virtual :ref:`Sizef` :target:`getSize`(); virtual :ref:`Sizef` :target:`getPixelsSize`(); virtual void :target:`draw`(); virtual void :target:`draw`(const :ref:`Vector2f`& position); virtual void :target:`draw`(const :ref:`Vector2f`& position, const :ref:`Sizef`& size); virtual bool :target:`isStateful`(); const std::vector<:ref:`ColorStop`>& :target:`getColorStops`() const; void :target:`setColorStops`(std::vector<:ref:`ColorStop`> stops); :ref:`ShapeType` :target:`getShape`() const; void :target:`setShape`(:ref:`ShapeType` shape); :ref:`Extent` :target:`getExtent`() const; void :target:`setExtent`(:ref:`Extent` extent); const :ref:`Vector2f`& :target:`getCenter`() const; void :target:`setCenter`(const :ref:`Vector2f`& centerNormalized); void :target:`setSize`(const :ref:`Sizef`& size); bool :target:`isRepeating`() const; }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // enums enum :ref:`Type`; // methods virtual :ref:`Sizef` :ref:`getSize`() = 0; virtual :ref:`Sizef` :ref:`getPixelsSize`() = 0; virtual :ref:`Float` :ref:`getMinIntrinsicWidth`(); virtual :ref:`Float` :ref:`getMaxIntrinsicWidth`(); virtual void :ref:`draw`() = 0; virtual void :ref:`draw`(const :ref:`Vector2f`& position) = 0; virtual void :ref:`draw`(const :ref:`Vector2f`& position, const :ref:`Sizef`& size) = 0; virtual bool :ref:`isStateful`() = 0; void :ref:`setAlpha`(:ref:`Uint8` alpha); const :ref:`Uint8`& :ref:`getAlpha`(); void :ref:`setColor`(const :ref:`Color`& color); const :ref:`Color`& :ref:`getColor`() const; void :ref:`setColorFilter`(const :ref:`Color`& color); :ref:`RGB` :ref:`getColorFilter`(); void :ref:`clearColor`(); void :ref:`clearColorFilter`(); void :ref:`resetAlpha`(); :ref:`Type` :ref:`getDrawableType`() const; const :ref:`Vector2f`& :ref:`getPosition`() const; void :ref:`setPosition`(const :ref:`Vector2f`& position); virtual bool :ref:`isDrawableResource`() const;