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.
18 using System.Collections.Generic;
24 /// [Draft] Class to hold layout position data
26 internal struct LayoutPositionData
29 /// [Draft] Initialized constructor
31 /// <param name="left">Left position.</param>
32 /// <param name="top">Top position.</param>
33 /// <param name="right">Right position.</param>
34 /// <param name="bottom">Bottom position.</param>
35 /// <param name="animated">If an animation is required to the given positions.</param>
36 public LayoutPositionData( float left, float top, float right, float bottom, bool animated )
48 private float _bottom;
49 private bool _animated;
53 /// [Draft] Class to hold Layout data for each entity being laid out.
55 internal class LayoutData
58 /// [Draft] Constructor
62 LayoutPositionDataList = new List<LayoutPositionData>();
65 private List<LayoutPositionData> layoutPositionDataList;
67 internal List<LayoutPositionData> LayoutPositionDataList { get => layoutPositionDataList; set => layoutPositionDataList = value; }
70 } // namespace Tizen.NUI