Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
Now that we have QQuickItem::containsMask (see QTBUG-20524 and https://codereview.qt-project.org/#/c/211550/ ), it's no longer necessary to subclass QQuickMouseArea to give it a mask shape. So this example examples/quick/customitems/maskedmousearea ought to show how to use an image as a mask object: just implement contains() and set it as the containsMask on a normal MouseArea.
Alternatively maybe we should provide that ImageMask type in Qt Quick, rather than only in an example?
Attachments
Issue Links
- resulted from
-
QTBUG-20524 Mask for mousearea
- Closed