DioDocs for PDF
DrawRoundRect(RectangleF,Single,Single,Color,Single,DashStyle) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > DrawRoundRect メソッド : DrawRoundRect(RectangleF,Single,Single,Color,Single,DashStyle) メソッド
A System.Drawing.RectangleF structure that represents the rectangle to draw.
The x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
The y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
The color of lines used to draw the rounded rectangle.
The width of lines used to draw the rounded rectangle.
The style of lines used to draw the rounded rectangle (solid by default).
Draws a rounded rectangle using a specified line color, width and style.

If the value of lineStyle parameter is not DashStyle.Solid, the rounded rectangle is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

シンタックス
'宣言
 
Public Overloads Sub DrawRoundRect( _
   ByVal bounds As System.Drawing.RectangleF, _
   ByVal radiusX As System.Single, _
   ByVal radiusY As System.Single, _
   ByVal lineColor As System.Drawing.Color, _
   ByVal lineWidth As System.Single, _
   Optional ByVal lineStyle As DashStyle _
) 
public void DrawRoundRect( 
   System.Drawing.RectangleF bounds,
   System.float radiusX,
   System.float radiusY,
   System.Drawing.Color lineColor,
   System.float lineWidth,
   DashStyle lineStyle
)

パラメータ

bounds
A System.Drawing.RectangleF structure that represents the rectangle to draw.
radiusX
The x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
radiusY
The y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
lineColor
The color of lines used to draw the rounded rectangle.
lineWidth
The width of lines used to draw the rounded rectangle.
lineStyle
The style of lines used to draw the rounded rectangle (solid by default).
参照

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