{
public:
/**
- * @brief Enumeration for type of drawable.
- */
- enum class DrawableTypes
- {
- NONE = 0, ///< Means that type is not defined.
- SHAPE, ///< Meaning of Shape class that inherits Drawable.
- DRAWABLE_GROUP ///< Meaning of DrawableGorup class that inherits Drawable.
- };
-
-public:
- /**
* @brief Constructor
*/
Drawable();
virtual bool Transform(const Dali::Matrix3& matrix);
/**
- * @brief Set whether drawable added to the other object(canvas or drawable) or not.
- * @param[in] added Ture if added, false otherwise.
+ * @copydoc Dali::CanvasRenderer::Drawable::GetBoundingBox
*/
- virtual void SetDrawableAdded(bool added);
+ virtual Rect<float> GetBoundingBox() const;
/**
- * @brief Returns whether this object was added to another object(canvas or drawable).
- * @return Returns Ture if added, false otherwise.
+ * @brief Set whether drawable added to the other object(canvas or drawable) or not.
+ * @param[in] added Ture if added, false otherwise.
*/
- virtual bool IsDrawableAdded();
+ virtual void SetDrawableAdded(bool added);
/**
* @brief Returns a drawable object pointer.
virtual bool GetChanged() const;
/**
- * @brief Set drawable's type.
- * @param[in] type Type of drawable.
- */
- virtual void SetDrawableType(DrawableTypes type);
-
- /**
- * @brief Get drawable's type.
- * @return Returns type of drawable.
- */
- virtual DrawableTypes GetDrawableType() const;
-
- /**
* @brief Returns a drawable's implements object pointer.
* @return Returns a drawable's implements object pointer.
*/