ColorMatrix.SetRotate(Int32, Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將旋轉設定在色彩軸上,依照指定值設定。
[Android.Runtime.Register("setRotate", "(IF)V", "GetSetRotate_IFHandler")]
public virtual void SetRotate(int axis, float degrees);
[<Android.Runtime.Register("setRotate", "(IF)V", "GetSetRotate_IFHandler")>]
abstract member SetRotate : int * single -> unit
override this.SetRotate : int * single -> unit
參數
- axis
- Int32
- degrees
- Single
- 屬性
備註
將旋轉設定在色彩軸上,依照指定值設定。
axis=0 對應於繞紅色 axis=1 旋轉,對應於繞綠色 axis=2 旋轉,對應繞藍色旋轉
Java 文件 android.graphics.ColorMatrix.setRotate(int, float)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。