class EE::UI::UINodeDrawable::LayerDrawable
#include <uinodedrawable.hpp>
class LayerDrawable: public EE::Graphics::Drawable {
public:
// construction
LayerDrawable(UINodeDrawable* container);
virtual ~LayerDrawable();
// methods
static LayerDrawable* New(UINodeDrawable* container);
virtual bool isStateful();
virtual void draw();
virtual void draw(const Vector2f& position);
virtual void draw(const Vector2f& position, const Sizef& size);
virtual Sizef getSize();
virtual Sizef getPixelsSize();
virtual void setSize(const Sizef& size);
Drawable* getDrawable() const;
const std::string& getDrawableRef() const;
void setDrawable(Drawable* drawable, const bool& ownIt);
void setDrawable(const std::string& drawableRef);
void setOffset(const Vector2f& offset);
const Vector2f& getOffset() const;
std::string getOffsetEq();
void setPositionEq(const std::string& offset);
void setSizeEq(const std::string& size);
const std::string& getSizeEq() const;
const Repeat& getRepeat() const;
void setRepeat(const Repeat& repeat);
void invalidate();
const Sizef& getDrawableSize() const;
void setDrawableSize(const Sizef& drawableSize);
Sizef calcDrawableSize(const std::string& drawableSizeEq);
Vector2f calcPosition(std::string positionXEq, std::string positionYEq);
const std::string& getPositionX() const;
void setPositionX(const std::string& positionX);
const std::string& getPositionY() const;
void setPositionY(const std::string& positionY);
};