Canvas.DrawPicture メソッド

定義

オーバーロード

DrawPicture(Picture)

キャンバスの状態を保存し、画像を描画して、キャンバスの状態を復元します。

DrawPicture(Picture, Rect)

dst 四角形に収まるように拡大された図を描画します。

DrawPicture(Picture, RectF)

dst 四角形に収まるように拡大された図を描画します。

DrawPicture(Picture)

キャンバスの状態を保存し、画像を描画して、キャンバスの状態を復元します。

[Android.Runtime.Register("drawPicture", "(Landroid/graphics/Picture;)V", "GetDrawPicture_Landroid_graphics_Picture_Handler")]
public virtual void DrawPicture (Android.Graphics.Picture picture);
[<Android.Runtime.Register("drawPicture", "(Landroid/graphics/Picture;)V", "GetDrawPicture_Landroid_graphics_Picture_Handler")>]
abstract member DrawPicture : Android.Graphics.Picture -> unit
override this.DrawPicture : Android.Graphics.Picture -> unit

パラメーター

picture
Picture

描画する画像

属性

注釈

キャンバスの状態を保存し、画像を描画して、キャンバスの状態を復元します。 これは、保存/復元を実行しない picture.draw(canvas) とは異なります。

<strong>Note:</strong> 再生の準備をするために、画像を強制的に内部的に呼び出 Picture#endRecording します。

の Java ドキュメント android.graphics.Canvas.drawPicture(android.graphics.Picture)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

DrawPicture(Picture, Rect)

dst 四角形に収まるように拡大された図を描画します。

[Android.Runtime.Register("drawPicture", "(Landroid/graphics/Picture;Landroid/graphics/Rect;)V", "GetDrawPicture_Landroid_graphics_Picture_Landroid_graphics_Rect_Handler")]
public virtual void DrawPicture (Android.Graphics.Picture picture, Android.Graphics.Rect dst);
[<Android.Runtime.Register("drawPicture", "(Landroid/graphics/Picture;Landroid/graphics/Rect;)V", "GetDrawPicture_Landroid_graphics_Picture_Landroid_graphics_Rect_Handler")>]
abstract member DrawPicture : Android.Graphics.Picture * Android.Graphics.Rect -> unit
override this.DrawPicture : Android.Graphics.Picture * Android.Graphics.Rect -> unit

パラメーター

picture
Picture

描画する画像

dst
Rect
属性

注釈

dst 四角形に収まるように拡大された図を描画します。

の Java ドキュメント android.graphics.Canvas.drawPicture(android.graphics.Picture, android.graphics.Rect)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

DrawPicture(Picture, RectF)

dst 四角形に収まるように拡大された図を描画します。

[Android.Runtime.Register("drawPicture", "(Landroid/graphics/Picture;Landroid/graphics/RectF;)V", "GetDrawPicture_Landroid_graphics_Picture_Landroid_graphics_RectF_Handler")]
public virtual void DrawPicture (Android.Graphics.Picture picture, Android.Graphics.RectF dst);
[<Android.Runtime.Register("drawPicture", "(Landroid/graphics/Picture;Landroid/graphics/RectF;)V", "GetDrawPicture_Landroid_graphics_Picture_Landroid_graphics_RectF_Handler")>]
abstract member DrawPicture : Android.Graphics.Picture * Android.Graphics.RectF -> unit
override this.DrawPicture : Android.Graphics.Picture * Android.Graphics.RectF -> unit

パラメーター

picture
Picture

描画する画像

dst
RectF
属性

注釈

dst 四角形に収まるように拡大された図を描画します。

の Java ドキュメント android.graphics.Canvas.drawPicture(android.graphics.Picture, android.graphics.RectF)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象