ImageView.ImageMatrix 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳視圖的可選矩陣。 -或- 在繪製時對視圖可繪製物件新增一個轉換 Matrix 。
public virtual Android.Graphics.Matrix? ImageMatrix { [Android.Runtime.Register("getImageMatrix", "()Landroid/graphics/Matrix;", "GetGetImageMatrixHandler")] get; [Android.Runtime.Register("setImageMatrix", "(Landroid/graphics/Matrix;)V", "GetSetImageMatrix_Landroid_graphics_Matrix_Handler")] set; }
[<get: Android.Runtime.Register("getImageMatrix", "()Landroid/graphics/Matrix;", "GetGetImageMatrixHandler")>]
[<set: Android.Runtime.Register("setImageMatrix", "(Landroid/graphics/Matrix;)V", "GetSetImageMatrix_Landroid_graphics_Matrix_Handler")>]
member this.ImageMatrix : Android.Graphics.Matrix with get, set
屬性值
矩陣:矩陣形式的轉換參數。
- 屬性
備註
財產取得者文件:
回傳視圖的可選矩陣。 此項設定會套用到繪製時的可繪圖。 若不存在矩陣,此方法將回傳一個單位矩陣。 不要更改這個矩陣,而是複製一份。 如果你想套用不同的矩陣到可繪圖物件上,記得呼叫 setImageMatrix()。
Java 文件 android.widget.ImageView.getImageMatrix()。
屬性設定文件:
新增一個轉換 Matrix ,當繪製時會套用到視圖的可繪製物件上。 允許自訂縮放、平移與透視變形。
Java 文件 android.widget.ImageView.setImageMatrix(android.graphics.Matrix)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。