[NUI] CanvasView: Add ClipPath and Mask feature for Drawable (#3346)
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 30 Jul 2021 00:26:11 +0000 (09:26 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 3 Aug 2021 01:50:50 +0000 (10:50 +0900)
commitc84c4889401cf86aedf21ef8a82c2acb04644470
tree8d5634f89f892db6cef9ffae4de939998df07b41
parent68f3490819cd0359f39002a2e76c004fd2ac738f
[NUI] CanvasView: Add ClipPath and Mask feature for Drawable (#3346)

* [NUI] CanvasView: Add ClipPath and Mask feature for Drawable

Shape and DrawableGroup, which inherit drawable class,
can clipping and masking using ClipPath and Mask methods.

* [NUI] CanvasView: Change return type of Mask and ClipPath methods

Throws an exception when masking and clipping fail.
src/Tizen.NUI/src/internal/Interop/Interop.Drawable.cs
src/Tizen.NUI/src/public/BaseComponents/VectorGraphics/Drawable.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/CanvasViewSamsple.cs