Hi,
Rectangle {
id: board
width: 1000
height: 1000
color: "green"
transform: Scale { id: scale; origin.x: 500; origin.y: 500 }
}
To use:
@
scale.xScale += 0.1
scale.yScale += 0.1
@
The same behaviour. Try to zoom in (+) and drag the rectangle downright.
↧