- stopColors.PushBack( Vector4( 129.f, 198.f, 193.f, 255.f )/255.f );
- stopColors.PushBack( Vector4( 196.f, 198.f, 71.f, 122.f )/255.f );
- stopColors.PushBack( Vector4( 214.f, 37.f, 139.f, 191.f )/255.f );
- stopColors.PushBack( Vector4( 129.f, 198.f, 193.f, 150.f )/255.f );
- stopColors.PushBack( Color::YELLOW );
- map[ GradientVisual::Property::STOP_COLOR ] = stopColors;
- map[ GradientVisual::Property::START_POSITION ] = Vector2(-0.5f, -0.5f );
- map[ GradientVisual::Property::END_POSITION ] = Vector2( 0.5f, 0.5f );
+ stopColors.PushBack(Vector4(129.f, 198.f, 193.f, 255.f) / 255.f);
+ stopColors.PushBack(Vector4(196.f, 198.f, 71.f, 122.f) / 255.f);
+ stopColors.PushBack(Vector4(214.f, 37.f, 139.f, 191.f) / 255.f);
+ stopColors.PushBack(Vector4(129.f, 198.f, 193.f, 150.f) / 255.f);
+ stopColors.PushBack(Color::YELLOW);
+ map[GradientVisual::Property::STOP_COLOR] = stopColors;
+ map[GradientVisual::Property::START_POSITION] = Vector2(-0.5f, -0.5f);
+ map[GradientVisual::Property::END_POSITION] = Vector2(0.5f, 0.5f);