Bitmap for UWP
DrawBitmap(Bitmap,Single,BitmapInterpolationMode,RectF) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.Direct2D 名前空間 > RenderTarget クラス > DrawBitmap メソッド : DrawBitmap(Bitmap,Single,BitmapInterpolationMode,RectF) メソッド
The bitmap to render.
A value between 0.0f and 1.0f, inclusive, that specifies an opacity value to apply to the bitmap; this value is multiplied against the alpha values of the bitmap's contents. The default value is 1.0f.
The interpolation mode to use if the bitmap is scaled or rotated by the drawing operation. The default value is C1.Win.DX.Direct2D.BitmapInterpolationMode.Linear.
The size and position, in device-independent pixels in the bitmap's coordinate space, of the area within the bitmap to be drawn; NULL to draw the entire bitmap.
Draws the specified bitmap after scaling it to the size of the specified rectangle.
シンタックス
'宣言
 
Public Overloads Sub DrawBitmap( _
   ByVal bitmap As Bitmap, _
   ByVal opacity As System.Single, _
   ByVal interpolationMode As BitmapInterpolationMode, _
   ByVal sourceRectangle As RectF _
) 
public void DrawBitmap( 
   Bitmap bitmap,
   System.float opacity,
   BitmapInterpolationMode interpolationMode,
   RectF sourceRectangle
)

パラメータ

bitmap
The bitmap to render.
opacity
A value between 0.0f and 1.0f, inclusive, that specifies an opacity value to apply to the bitmap; this value is multiplied against the alpha values of the bitmap's contents. The default value is 1.0f.
interpolationMode
The interpolation mode to use if the bitmap is scaled or rotated by the drawing operation. The default value is C1.Win.DX.Direct2D.BitmapInterpolationMode.Linear.
sourceRectangle
The size and position, in device-independent pixels in the bitmap's coordinate space, of the area within the bitmap to be drawn; NULL to draw the entire bitmap.
参照

RenderTarget クラス
RenderTarget メンバ
オーバーロード一覧