(GradientRenderer)Respond to actor size change automatically when using ObjectBoundin...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / renderers / gradient / gradient-renderer.h
index 1ee3f36..0c087a2 100644 (file)
@@ -72,6 +72,15 @@ class GradientRenderer: public ControlRenderer
 public:
 
   /**
+   * Types of the gradient
+   */
+  enum Type
+  {
+    LINEAR,
+    RADIAL
+  };
+
+  /**
    * @brief Constructor.
    */
   GradientRenderer();
@@ -117,15 +126,6 @@ protected:
 private:
 
   /**
-   * Types of the gradient
-   */
-  enum Type
-  {
-    LINEAR,
-    RADIAL
-  };
-
-  /**
    * New a gradient object with the given property map.
    *
    * @return True if the property map provides valid properties to create a gradient. Otherwise, returns false.