RotationAngle属性

适用
视觉对象:ImageOp

说明
设定/返回ImageOp对象旋转操作的旋转角度。

用法

VGet  Sequence.Object.RotationAngle, var
VSet  Sequence.Object.RotationAngle, value
Sequence
序列名或表示序列名的字符串变量
Object
对象名或表示对象名的字符串变量对象必须存在于指定的序列中。
var
表示属性值的实数变量
value
表示新属性值的实数或表达式


默认:0度

详细说明
RotationAngle用于在AngleObject属性设为Screen时确定旋转角度。如果AngleObject未设为Screen,RotationAngle设定无效。

如果RotationDirection设为CCW,角度为正值时旋转方向为逆时针。如果RotationDirection设为CW,角度为正值时旋转方向为顺时针。

未在旋转中的像素被设为0(黑)。

参照
AngleObject属性、ImageOp对象、Operation属性、RotationDirection属性