Add visible property to ShapePath


[ChangeLog][QtQuick.Shapes] Added ShapePath.visible. Setting it to
false hides the path's fill and stroke without removing it, so it
keeps its place in the paint order. Hidden paths are excluded from
Shape.boundingRect, the Shape's implicit size, and
QQuickItem::contains().

Fixes: QTBUG-148700
Fixes: QTBUG-119582
Change-Id: I79f2c0851518a7efa0fcf7667dc8a106b07a50bd
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commite1b847e9d24478a9b7a9874cdd6c97dc91923e9f
parent2690bc4e80ca4002f2dc8b63534edab205be6b98
authorXavier BESSON <developer@xavi-b.fr>
committerXavier BESSON <developer@xavi-b.fr>
commit timeMon, 19 Oct 2026 17:01:46 +0000