Added UNDERLINE_HEIGHT Property to override font metrics
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-view.cpp
index b0825f6..61073fe 100644 (file)
@@ -101,6 +101,16 @@ bool View::IsUnderlineEnabled() const
   return false;
 }
 
+float View::GetUnderlineHeight() const
+{
+  if ( mImpl->mVisualModel )
+  {
+    VisualModel& model = *mImpl->mVisualModel;
+    return model.GetUnderlineHeight();
+  }
+  return 0.0f;
+}
+
 Length View::GetNumberOfGlyphs() const
 {
   if( mImpl->mVisualModel )