[NUI] Add TouchArea property.
authorJoogab Yun <joogab.yun@samsung.com>
Fri, 12 Mar 2021 01:50:58 +0000 (10:50 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Wed, 17 Mar 2021 06:50:14 +0000 (15:50 +0900)
commit1acfeedb105b18b0daf31232f5b33aa6bc53032b
tree80ac15ff3f13d5492a46349fbc120f9f4a62716c
parentbad66d5475469f464c927f5ed982e5c330507c60
[NUI] Add TouchArea property.

Default touchable area is view's size.
TouchArea can reset the view's touchable area.

This is usefull when the view is small, but it should have a larger touch area.

for example

      View view = new View();
      view.Size = new Size(10, 10);
      view.TouchEvent += OnTouchEvent;
      view.TouchArea = new Size2D(200, 200);

The view is small, If you want to set the touch area to a larger area,
you can use the TouchArea property.

This reverts commit 034889141391985f0ad1727ae6e32719d9c5a360.
src/Tizen.NUI/src/internal/Interop/Interop.ActorProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEnum.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs