Bitmap for WPF
DrawRectangle(RectF,Brush,Single,StrokeStyle) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > RenderTarget クラス : DrawRectangle(RectF,Brush,Single,StrokeStyle) メソッド
void ID2D1RenderTarget::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
シンタックス
'宣言
 
Public Sub DrawRectangle( _
   ByVal rect As RectF, _
   ByVal brush As Brush, _
   ByVal strokeWidth As System.Single, _
   Optional ByVal strokeStyle As StrokeStyle _
) 
public void DrawRectangle( 
   RectF rect,
   Brush brush,
   System.float strokeWidth,
   StrokeStyle strokeStyle
)

パラメータ

rect
brush
strokeWidth
strokeStyle
参照

RenderTarget クラス
RenderTarget メンバ