_text1.AnchorPoint = AnchorPoint.Center;
_text1.Position = new Position(0, 0, 0);
_text1.PositionUsesAnchorPoint = true;
- _text1.HorizontalAlignment = HorizontalAlignment.HorizontalAlignCenter;
+ _text1.HorizontalAlignment = HorizontalAlignment.Center;
_text1.Size2D = new Size2D(200, 100);
_text1.PointSize = 10.0f;
_text1.BackgroundColor = Color.Blue;
_text2.AnchorPoint = AnchorPoint.Center;
_text2.Position = new Position(0, 0, 0);
_text2.PositionUsesAnchorPoint = false;
- _text2.HorizontalAlignment = HorizontalAlignment.HorizontalAlignCenter;
+ _text2.HorizontalAlignment = HorizontalAlignment.Center;
_text2.Size2D = new Size2D(200, 100);
_text2.PointSize = 10.0f;
_text2.BackgroundColor = Color.Red;
/* color visual */
ColorVisual colorVisualMap1 = new ColorVisual();
- colorVisualMap1.MixColor = Color.Green;
+ colorVisualMap1.Color = Color.Green;
_visualView.Background = colorVisualMap1.OutputVisualMap;
stage.GetDefaultLayer().Add(_visualView);
class Example : NUIApplication
{
private VisualView _visualView = null;
- //private const string resources = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+ private const string resources = "/home/owner/apps_rw/NUISamples.TizenTV/res";
private Window _window;
public Example() : base()