.. index:: pair: class; EE::Graphics::Drawable .. _doxid-class_e_e_1_1_graphics_1_1_drawable: class EE::Graphics::Drawable ============================ .. toctree:: :hidden: enum_EE_Graphics_Drawable_Type.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class Drawable { public: // enums enum :ref:`Type`; // construction virtual :target:`~Drawable`(); // methods virtual :ref:`Sizef` :target:`getSize`() = 0; virtual :ref:`Sizef` :target:`getPixelsSize`() = 0; virtual void :target:`draw`() = 0; virtual void :target:`draw`(const :ref:`Vector2f`& position) = 0; virtual void :target:`draw`(const :ref:`Vector2f`& position, const :ref:`Sizef`& size) = 0; virtual bool :target:`isStateful`() = 0; void :target:`setAlpha`(:ref:`Uint8` alpha); const :ref:`Uint8`& :target:`getAlpha`(); void :target:`setColor`(const :ref:`Color`& color); const :ref:`Color`& :target:`getColor`() const; void :target:`setColorFilter`(const :ref:`Color`& color); :ref:`RGB` :target:`getColorFilter`(); void :target:`clearColor`(); void :target:`clearColorFilter`(); void :target:`resetAlpha`(); :ref:`Type` :target:`getDrawableType`() const; const :ref:`Vector2f`& :target:`getPosition`() const; void :target:`setPosition`(const :ref:`Vector2f`& position); virtual bool :target:`isDrawableResource`() const; };