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屬性