对一个window控件(控件名为windows),要实现旋转,overwrite一个按钮的click方法:
void clicked(){
Image image = new Image(); super(); image = windows.image(); image.rotate(RotateType::Rotate90FlipNone); windows.image(image);}