Skip to main content

RotationTransform

Overview

Rotates a widget around the axis and by the angle you specify. The space it occupies in the layout stays the same. For example, tilt an icon to call attention to it.

Properties

PropertyDescriptionValuesDefault
Rotation Angle (rotationAxis · angle)Rotates the widget. The Studio editing panel groups these into a single Rotation Angle item, where you set the rotation axis (rotationAxis: X, Y, or Z) and the rotation angle (angle, in degrees) side by side. The angle is converted to radians internally and applied around the axis you picked.Axis X, Y, or Z / angle as a number in degreesRotation: Z, Angle: 0.0°
alignmentSets the reference point — the origin — of the rotation transform.Alignment valueCenter
transformHitTestSets whether hit testing uses the rotated position.On / offOn
filterQualitySets the image quality (interpolation method) used when rendering the rotation transform.none, low, medium, highNot set