.. index:: pair: class; EE::UI::UIBorderDrawable .. _doxid-class_e_e_1_1_u_i_1_1_u_i_border_drawable: class EE::UI::UIBorderDrawable ============================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class UIBorderDrawable: public :ref:`EE::Graphics::Drawable` { public: // construction :target:`UIBorderDrawable`(const :ref:`UINode`* owner); virtual :target:`~UIBorderDrawable`(); // methods static UIBorderDrawable* :target:`New`(const :ref:`UINode`* owner); 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`(); virtual void :ref:`setLineWidth`(const :ref:`Float`& width); :ref:`Float` :ref:`getLineWidth`() const; :ref:`Int32` :target:`getRadius`() const; void :target:`setRadius`(const :ref:`Int32`& radius); :ref:`Color` :target:`getColorLeft`() const; void :target:`setColorLeft`(const :ref:`Color`& colorLeft); :ref:`Color` :target:`getColorRight`() const; void :target:`setColorRight`(const :ref:`Color`& colorRight); :ref:`Color` :target:`getColorTop`() const; void :target:`setColorTop`(const :ref:`Color`& colorTop); :ref:`Color` :target:`getColorBottom`() const; void :target:`setColorBottom`(const :ref:`Color`& colorBottom); const :ref:`BorderType`& :target:`getBorderType`() const; void :target:`setBorderType`(const :ref:`BorderType`& borderType); void :target:`invalidate`(); void :target:`setLeftWidth`(const std::string& leftWidth); void :target:`setRightWidth`(const std::string& rightWidth); 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); const :ref:`Borders`& :target:`getBorders`() const; :ref:`Rectf` :target:`getBorderBoxDiff`() const; 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; .. _details-class_e_e_1_1_u_i_1_1_u_i_border_drawable: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; setLineWidth .. _doxid-class_e_e_1_1_u_i_1_1_u_i_border_drawable_1ab99abe62f1573c00a6eb62b5c570fe82: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void setLineWidth(const :ref:`Float`& width) Set the line width to draw primitives .. index:: pair: function; getLineWidth .. _doxid-class_e_e_1_1_u_i_1_1_u_i_border_drawable_1a4269ba269ed167196c0df03abb501921: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`Float` getLineWidth() const .. rubric:: Returns: The line with to draw primitives