mUnderlineEnabled = enabled;
}
+void VisualModel::SetUnderlineHeight( float height )
+{
+ mUnderlineHeight = height;
+}
+
const Vector4& VisualModel::GetTextColor() const
{
return mTextColor;
return mUnderlineEnabled;
}
+float VisualModel::GetUnderlineHeight() const
+{
+ return mUnderlineHeight;
+}
+
void VisualModel::ClearCaches()
{
mCachedLineIndex = 0u;
mGlyphsPerCharacter(),
mGlyphPositions(),
mLines(),
- mTextColor(),
- mShadowColor(),
- mUnderlineColor(),
- mShadowOffset(),
+ mTextColor( Color::BLACK ),
+ mShadowColor( Color::BLACK ),
+ mUnderlineColor( Color::BLACK ),
+ mShadowOffset( Vector2::ZERO ),
+ mUnderlineHeight( 0.0f ),
mNaturalSize(),
mActualSize(),
mCachedLineIndex( 0u ),