語言

ColorMatrix.SetRotate(Int32, Single) 方法

定義

將旋轉設定在色彩軸上,依照指定值設定。

[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於