.. index:: pair: class; EE::UI::UIBackgroundDrawable .. _doxid-class_e_e_1_1_u_i_1_1_u_i_background_drawable: class EE::UI::UIBackgroundDrawable ================================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class UIBackgroundDrawable: public :ref:`EE::Graphics::Drawable` { public: // construction :target:`UIBackgroundDrawable`(const :ref:`UINode`* owner); virtual :target:`~UIBackgroundDrawable`(); // methods static UIBackgroundDrawable* :target:`New`(const :ref:`UINode`* owner); void :target:`setSize`(const :ref:`Sizef`& size); 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 :ref:`BorderRadiuses`& :target:`getRadiuses`() const; bool :target:`hasRadius`() const; void :target:`setRadiuses`(const :ref:`BorderRadiuses`& radiuses); void :target:`setRadius`(const :ref:`Uint32`& radius); :ref:`Int32` :target:`getRadius`() const; void :target:`invalidate`(); void :target:`setTopWidth`(const std::string& topWidth); void :target:`setBottomWidth`(const std::string& bottomWidth); void :target:`setTopLeftRadius`(const std::string& radius); void :target:`setTopRightRadius`(const std::string& radius); void :target:`setBottomLeftRadius`(const std::string& radius); void :target:`setBottomRightRadius`(const std::string& radius); bool :target:`isSmooth`() const; void :target:`setSmooth`(bool smooth); }; 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 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;