2 * Copyright (c) 2016 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 %define PATHCONSTRAINER_PROPERTIES_HELPER(NameSpace, ClassName)
19 %typemap(cscode) NameSpace::ClassName %{
21 /* Properties earlier added by Ruby Script */
23 public Dali.CSharp.Position Forward
27 Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
28 GetProperty( PathConstrainer.Property.FORWARD).Get( temp );
29 Dali.CSharp.Position ret = new Dali.CSharp.Position(temp.x, temp.y, temp.z);
34 SetProperty( PathConstrainer.Property.FORWARD, new Dali.Property.Value( value ) );
37 public Dali.Property.Array Points
41 Dali.Property.Array temp = new Dali.Property.Array();
42 GetProperty( PathConstrainer.Property.POINTS).Get( temp );
47 SetProperty( PathConstrainer.Property.POINTS, new Dali.Property.Value( value ) );
50 public Dali.Property.Array ControlPoints
54 Dali.Property.Array temp = new Dali.Property.Array();
55 GetProperty( PathConstrainer.Property.CONTROL_POINTS).Get( temp );
60 SetProperty( PathConstrainer.Property.CONTROL_POINTS, new Dali.Property.Value( value ) );
71 PATHCONSTRAINER_PROPERTIES_HELPER(Dali, PathConstrainer);