/*
* Copyright(c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
using System;
using System.Runtime.InteropServices;
using Tizen.NUI.BaseComponents;
using System.ComponentModel;
namespace Tizen.NUI
{
///
/// It tries to detect when the user moves two touch points in a circular motion.
///
/// This will be made public in the next tizen release after an ACR is done. Till then, it needs to be hidden as an inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public class RotationGestureDetector : GestureDetector
{
///
/// Creates an initialized RotationGestureDetector.
///
/// This will be made public in the next tizen release after an ACR is done. Till then, it needs to be hidden as an inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public RotationGestureDetector() : this(Interop.RotationGesture.RotationGestureDetectorNew(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
///
/// The copy constructor.
///
/// A reference to the copied handle
/// This will be made public in the next tizen release after an ACR is done. Till then, it needs to be hidden as an inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public RotationGestureDetector(RotationGestureDetector handle) : this(Interop.RotationGesture.NewRotationGestureDetector(RotationGestureDetector.getCPtr(handle)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
internal RotationGestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.RotationGesture.RotationGestureDetectorUpcast(cPtr), cMemoryOwn)
{
}
private DaliEventHandler