FilterDemoFramework.FilterView.TouchesEnded C# (CSharp) Method

TouchesEnded() public method

public TouchesEnded ( NSSet touches, UIEvent evt ) : void
touches NSSet
evt UIEvent
return void
		public override void TouchesEnded (NSSet touches, UIEvent evt)
		{
			base.TouchesEnded (touches, evt);

			var firstTouch = touches.Cast<UITouch> ().FirstOrDefault ();
			if (firstTouch == null)
				return;

			var pointOfTouch = firstTouch.LocationInView (this);
			pointOfTouch.Y += bottomMargin;

			if (graphLayer.Contains (pointOfTouch))
				editPoint = ProcessTouch (pointOfTouch);

			touchDown = false;
			UpdateFrequenciesAndResonance ();
		}