PalmTouchEvent.cs 732 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using bbiwarg.Utility;
  7. using bbiwarg.Detectors.Fingers;
  8. using bbiwarg.Detectors.Palm;
  9. namespace bbiwarg.Detectors.Touch
  10. {
  11. class PalmTouchEvent : TouchEvent
  12. {
  13. private Vector2D _relativePalmPosition;
  14. public Vector2D RelativePalmPosition { get { return _relativePalmPosition; } private set { _relativePalmPosition = value; } }
  15. public PalmTouchEvent(Vector2D absolutePosition, Vector2D relativePalmPosition, float floodValue, Finger finger)
  16. : base(absolutePosition, floodValue, finger)
  17. {
  18. RelativePalmPosition = relativePalmPosition;
  19. }
  20. }
  21. }