Moved Text Controller & Markup Processor to sub-folders
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / text / text-utils-devel.h
index 6b63039..87bffdd 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TOOLKIT_TEXT_UTILS_DEVEL_H
 
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -55,7 +55,8 @@ struct DALI_TOOLKIT_API RendererParameters
     ellipsisEnabled{true},
     markupEnabled{false},
     isTextColorSet{false},
-    minLineSize{0.f}
+    minLineSize{0.f},
+    padding{0u, 0u, 0u, 0u}
   {
   }
 
@@ -87,6 +88,8 @@ struct DALI_TOOLKIT_API RendererParameters
   bool isTextColorSet : 1;         ///< Whether a default color has been set.
                                    //
   float minLineSize;               ///< The line's minimum size (in points).
+
+  Extents padding; ///< The padding of the boundaries where the text is going to be laid-out.
 };
 
 /**