旋转WPF图像非常简单
imgCurrent.LayoutTransform = new RotateTransform(_rotationAngle);
水平和垂直镜像怎么样?
offtop:
In GDI(Drawing namespace) there was bitmap.RotateFlip(rotateFlipType);
在wpf中有什么容易吗?
答案 0 :(得分:5)
new ScaleTransform() { ScaleX = -1 };
答案 1 :(得分:0)
应用 ScaleTransform ,负数 X或Y比例因子