4 property variant center
6 property int pointCount: 0
7 width: 240; height: 320
11 objectName: "blackrect"
17 opacity: (whiteRect.width-blackRect.x+whiteRect.height-blackRect.y-199)/200
18 Text { text: blackRect.opacity}
21 objectName: "pincharea"
23 pinch.target: blackRect
24 pinch.dragAxis: Drag.XandYAxis
26 pinch.maximumX: whiteRect.width-blackRect.width
28 pinch.maximumY: whiteRect.height-blackRect.height
29 pinch.minimumScale: 1.0
30 pinch.maximumScale: 2.0
31 pinch.minimumRotation: 0.0
32 pinch.maximumRotation: 90.0
34 whiteRect.center = pinch.center
35 whiteRect.scale = pinch.scale
36 whiteRect.pointCount = pinch.pointCount;
39 whiteRect.center = pinch.center
40 whiteRect.scale = pinch.scale
41 whiteRect.pointCount = pinch.pointCount;
44 whiteRect.center = pinch.center
45 whiteRect.scale = pinch.scale
46 whiteRect.pointCount = pinch.pointCount;