-/*
+/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
}
else
{
- textLabel.SetProperty( TextLabel::Property::SHADOW_OFFSET, Vector2( 0.3f, 0.3f ) );
- textLabel.SetProperty( TextLabel::Property::SHADOW_COLOR, Color::BLACK );
+ Property::Map shadowMap;
+ shadowMap.Insert( "color", Color::BLACK );
+ shadowMap.Insert( "offset", Vector2( 0.3f, 0.3f ) );
+ textLabel.SetProperty( TextLabel::Property::SHADOW, shadowMap );
textLabel.SetProperty( TextLabel::Property::TEXT_COLOR, Color::BLUE );
}
textLabel.SetBackgroundColor( color );