SKCanvas.DrawBitmap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DrawBitmap(SKBitmap, SKPoint, SKPaint) |
Draws a bitmap on the canvas. |
DrawBitmap(SKBitmap, SKRect, SKPaint) |
Draws a bitmap on the canvas. |
DrawBitmap(SKBitmap, SKRect, SKRect, SKPaint) |
Draws a bitmap on the canvas. |
DrawBitmap(SKBitmap, Single, Single, SKPaint) |
Draws a bitmap on the canvas. |
DrawBitmap(SKBitmap, SKPoint, SKPaint)
Draws a bitmap on the canvas.
public void DrawBitmap (SkiaSharp.SKBitmap bitmap, SkiaSharp.SKPoint p, SkiaSharp.SKPaint paint = default);
Parameters
- bitmap
- SKBitmap
The bitmap to draw.
- p
- SKPoint
The destination coordinates for the bitmap.
- paint
- SKPaint
The paint to use when drawing the bitmap.
Applies to
DrawBitmap(SKBitmap, SKRect, SKPaint)
Draws a bitmap on the canvas.
public void DrawBitmap (SkiaSharp.SKBitmap bitmap, SkiaSharp.SKRect dest, SkiaSharp.SKPaint paint = default);
Parameters
- bitmap
- SKBitmap
The bitmap to draw.
- dest
- SKRect
The region to draw the bitmap into.
- paint
- SKPaint
The paint to use when drawing the bitmap.
Applies to
DrawBitmap(SKBitmap, SKRect, SKRect, SKPaint)
Draws a bitmap on the canvas.
public void DrawBitmap (SkiaSharp.SKBitmap bitmap, SkiaSharp.SKRect source, SkiaSharp.SKRect dest, SkiaSharp.SKPaint paint = default);
Parameters
- bitmap
- SKBitmap
The bitmap to draw.
- source
- SKRect
The source region to copy.
- dest
- SKRect
The region to draw the bitmap into.
- paint
- SKPaint
The paint to use when drawing the bitmap.
Applies to
DrawBitmap(SKBitmap, Single, Single, SKPaint)
Draws a bitmap on the canvas.
public void DrawBitmap (SkiaSharp.SKBitmap bitmap, float x, float y, SkiaSharp.SKPaint paint = default);
Parameters
- bitmap
- SKBitmap
The bitmap to draw.
- x
- Single
The destination x-coordinate for the bitmap.
- y
- Single
The destination y-coordinate for the bitmap.
- paint
- SKPaint
The paint to use when drawing the bitmap.
Applies to
SkiaSharp
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示