Exemple #1
0
        /// <summary>
        /// Toucheses the began.
        /// </summary>
        /// <returns><c>true</c>, if began was touchesed, <c>false</c> otherwise.</returns>
        /// <param name="points">Points.</param>
        public override bool TouchesBegan(System.Collections.Generic.IEnumerable <NGraphics.Point> points)
        {
            base.TouchesBegan(points);

            var point = points.FirstOrDefault();

            _rippler.RippleAsync(point.X, point.Y, true);
            _labelText.TextColor = Color.Accent;

            return(true);
        }
        /// <summary>
        /// Toucheses the began.
        /// </summary>
        /// <returns><c>true</c>, if began was touchesed, <c>false</c> otherwise.</returns>
        /// <param name="points">Points.</param>
        public override bool TouchesBegan(System.Collections.Generic.IEnumerable <NGraphics.Point> points)
        {
            base.TouchesBegan(points);

            var point = points.FirstOrDefault();

#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
            _rippler.RippleAsync(point.X, point.Y, true);
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
            _labelText.TextColor = Color.Accent;

            return(true);
        }