Qt 4.8
Scale Class Reference

The Scale element provides a way to scale an Item. More...

Detailed Description

The Scale element provides a way to scale an Item.

Since
4.7

The Scale element gives more control over scaling than using Item's scale property. Specifically, it allows a different scale for the x and y axes, and allows the scale to be relative to an arbitrary point.

The following example scales the X axis of the Rectangle, relative to its interior point 25, 25:

width: 100; height: 100
color: "blue"
transform: Scale { origin.x: 25; origin.y: 25; xScale: 3}
}
See also
Rotation, Translate

The documentation for this class was generated from the following file: