2 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 /// [Draft] Class to hold layout animation and position data
23 internal struct LayoutData
26 /// [Draft] Initialized constructor
28 /// <param name="item">Layout item.</param>
29 /// <param name="condition">Condition for the position values.</param>
30 /// <param name="left">Left position.</param>
31 /// <param name="top">Top position.</param>
32 /// <param name="right">Right position.</param>
33 /// <param name="bottom">Bottom position.</param>
34 public LayoutData(LayoutItem item, TransitionCondition condition, float left, float top, float right, float bottom)
37 ConditionForAnimation = condition;
44 public LayoutItem Item { get; }
46 public TransitionCondition ConditionForAnimation { get; }
48 public float Left { get; }
49 public float Top { get; }
50 public float Right { get; }
51 public float Bottom { get; }
55 } // namespace Tizen.NUI