class EE::UI::UINodeDrawable
#include <uinodedrawable.hpp>
class UINodeDrawable: public EE::Graphics::Drawable {
public:
// enums
enum Repeat;
// classes
class LayerDrawable;
// construction
UINodeDrawable(UINode* owner);
virtual ~UINodeDrawable();
// methods
static Repeat repeatFromText(const std::string& text);
static UINodeDrawable* New(UINode* owner);
virtual Sizef getSize();
virtual Sizef getPixelsSize();
virtual void setSize(const Sizef& size);
virtual void draw();
virtual void draw(const Vector2f& position);
virtual void draw(const Vector2f& position, const Sizef& size);
void draw(const Vector2f& position, const Sizef& size, const Uint32& alpha);
virtual bool isStateful();
void clearDrawables();
void setBorderRadius(const Uint32& radius);
Uint32 getBorderRadius() const;
bool layerExists(int index);
LayerDrawable* getLayer(int index);
void setDrawable(int index, Drawable* drawable, bool ownIt);
void setDrawable(int index, const std::string& drawable);
void setDrawablePositionX(int index, const std::string& positionX);
void setDrawablePositionY(int index, const std::string& positionY);
void setDrawableRepeat(int index, const std::string& repeatRule);
void setDrawableSize(int index, const std::string& sizeEq);
void setDrawableColor(int index, const Color& color);
void setBackgroundColor(const Color& color);
Color getBackgroundColor() const;
bool getClipEnabled() const;
void setClipEnabled(bool clipEnabled);
void invalidate();
UINode* getOwner() const;
UIBackgroundDrawable& getBackgroundDrawable();
bool isSmooth() const;
void setSmooth(bool smooth);
};