SKCanvas.DrawBitmap メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| DrawBitmap(SKBitmap, SKPoint, SKPaint) |
古い.
キャンバスにビットマップを描画します。 |
| DrawBitmap(SKBitmap, SKRect, SKPaint) |
古い.
キャンバスにビットマップを描画します。 |
| DrawBitmap(SKBitmap, SKPoint, SKSamplingOptions, SKPaint) |
指定したサンプリング オプションとペイントを使用して、指定した場所にビットマップを描画します。 |
| DrawBitmap(SKBitmap, SKRect, SKRect, SKPaint) |
古い.
キャンバスにビットマップを描画します。 |
| DrawBitmap(SKBitmap, SKRect, SKSamplingOptions, SKPaint) |
指定したサンプリング オプションを使用して、指定したビットマップをコピー先の四角形に描画します。 |
| DrawBitmap(SKBitmap, Single, Single, SKPaint) |
古い.
キャンバスにビットマップを描画します。 |
| DrawBitmap(SKBitmap, SKRect, SKRect, SKSamplingOptions, SKPaint) |
指定したサンプリング オプションを使用して、指定したビットマップの一部をコピー先の四角形に描画します。 |
| DrawBitmap(SKBitmap, Single, Single, SKSamplingOptions, SKPaint) |
指定したサンプリング オプションとペイントを使用して、指定した座標にビットマップを描画します。 |
DrawBitmap(SKBitmap, SKPoint, SKPaint)
注意事項
Use the overload with SKSamplingOptions instead.
キャンバスにビットマップを描画します。
[System.Obsolete("Use the overload with SKSamplingOptions instead.")]
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, SkiaSharp.SKPoint p, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- p
- SKPoint
ビットマップの宛先座標。
- paint
- SKPaint
ビットマップを描画するときに使用するペイント。
- 属性
適用対象
DrawBitmap(SKBitmap, SKRect, SKPaint)
注意事項
Use the overload with SKSamplingOptions instead.
キャンバスにビットマップを描画します。
[System.Obsolete("Use the overload with SKSamplingOptions instead.")]
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, SkiaSharp.SKRect dest, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- dest
- SKRect
ビットマップを描画する領域。
- paint
- SKPaint
ビットマップを描画するときに使用するペイント。
- 属性
適用対象
DrawBitmap(SKBitmap, SKPoint, SKSamplingOptions, SKPaint)
指定したサンプリング オプションとペイントを使用して、指定した場所にビットマップを描画します。
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, SkiaSharp.SKPoint p, SkiaSharp.SKSamplingOptions sampling, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- p
- SKPoint
ビットマップの左上隅を描画する位置。
- sampling
- SKSamplingOptions
ビットマップのスケーリングまたはフィルター処理時に適用するサンプリング オプション。
- paint
- SKPaint
ビットマップを描画するときに使用するペイント、または既定のレンダリングに null 。
適用対象
DrawBitmap(SKBitmap, SKRect, SKRect, SKPaint)
注意事項
Use the overload with SKSamplingOptions instead.
キャンバスにビットマップを描画します。
[System.Obsolete("Use the overload with SKSamplingOptions instead.")]
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, SkiaSharp.SKRect source, SkiaSharp.SKRect dest, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- source
- SKRect
コピーするソースリージョン。
- dest
- SKRect
ビットマップを描画する領域。
- paint
- SKPaint
ビットマップを描画するときに使用するペイント。
- 属性
適用対象
DrawBitmap(SKBitmap, SKRect, SKSamplingOptions, SKPaint)
指定したサンプリング オプションを使用して、指定したビットマップをコピー先の四角形に描画します。
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, SkiaSharp.SKRect dest, SkiaSharp.SKSamplingOptions sampling, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- dest
- SKRect
キャンバス上の移動先の四角形。
- sampling
- SKSamplingOptions
ビットマップのスケーリング時に使用するサンプリング オプション。
- paint
- SKPaint
適用するペイント、または既定のペイント設定を使用する null 。
適用対象
DrawBitmap(SKBitmap, Single, Single, SKPaint)
注意事項
Use the overload with SKSamplingOptions instead.
キャンバスにビットマップを描画します。
[System.Obsolete("Use the overload with SKSamplingOptions instead.")]
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, float x, float y, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- x
- Single
ビットマップのコピー先の x 座標。
- y
- Single
ビットマップの宛先 y 座標。
- paint
- SKPaint
ビットマップを描画するときに使用するペイント。
- 属性
適用対象
DrawBitmap(SKBitmap, SKRect, SKRect, SKSamplingOptions, SKPaint)
指定したサンプリング オプションを使用して、指定したビットマップの一部をコピー先の四角形に描画します。
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, SkiaSharp.SKRect source, SkiaSharp.SKRect dest, SkiaSharp.SKSamplingOptions sampling, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- source
- SKRect
ビットマップ内のソース四角形。
- dest
- SKRect
キャンバス上の移動先の四角形。
- sampling
- SKSamplingOptions
ビットマップのスケーリング時に使用するサンプリング オプション。
- paint
- SKPaint
適用するペイント、または既定のペイント設定を使用する null 。
適用対象
DrawBitmap(SKBitmap, Single, Single, SKSamplingOptions, SKPaint)
指定したサンプリング オプションとペイントを使用して、指定した座標にビットマップを描画します。
public void DrawBitmap(SkiaSharp.SKBitmap bitmap, float x, float y, SkiaSharp.SKSamplingOptions sampling, SkiaSharp.SKPaint paint = default);
パラメーター
- bitmap
- SKBitmap
描画するビットマップ。
- x
- Single
ビットマップの左端の x 座標。
- y
- Single
ビットマップの上端の y 座標。
- sampling
- SKSamplingOptions
ビットマップのスケーリングまたはフィルター処理時に適用するサンプリング オプション。
- paint
- SKPaint
ビットマップを描画するときに使用するペイント、または既定のレンダリングに null 。