PdfGraphics.DrawRoundRectangle Method
Overloads
| Name | Description |
|---|---|
| DrawRoundRectangle(PdfPen,Double,Double,Double,Double,Double,Double) | Draws a rounded rectangle specified by a coordinate pair, a width, and a height. |
| DrawRoundRectangle(PdfPen,Double,Double,Double,Double,Double,Double,Double) | Draws a rounded rectangle specified by a coordinate pair, a width, and a height. |
| DrawRoundRectangle(PdfBrush,Double,Double,Double,Double,Double,Double) | Fills the interior of rounded rectangle specified by a coordinate pair, a width, and a height. |
| DrawRoundRectangle(PdfBrush,Double,Double,Double,Double,Double,Double,Double) | Fills the interior of rounded rectangle specified by a coordinate pair, a width, and a height. |
| DrawRoundRectangle(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double) | Draws and fills the interior of a rounded rectangle specified by a coordinate pair, a width, and a height. |
| DrawRoundRectangle(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double,Double) | Draws and fills the interior of rounded rectangle specified by a coordinate pair, a width, and a height. |
DrawRoundRectangle(PdfPen,Double,Double,Double,Double,Double,Double)
Draws a rounded rectangle specified by a coordinate pair, a width, and a height.
public void DrawRoundRectangle(PdfPen pen, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight)
Parameters
pen PdfPen
PdfPen that determines the color, width, and style of the rectangle.
x Double
The x-coordinate of the upper-left corner of the rectangle to draw.
y Double
The y-coordinate of the upper-left corner of the rectangle to draw.
width Double
Width of the rectangle to draw.
height Double
Height of the rectangle to draw.
ellipseWidth Double
Width of the ellipse that defines the rounded corners.
ellipseHeight Double
Height of the ellipse that defines the rounded corners.
DrawRoundRectangle(PdfPen,Double,Double,Double,Double,Double,Double,Double)
Draws a rounded rectangle specified by a coordinate pair, a width, and a height.
public void DrawRoundRectangle(PdfPen pen, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight, double rotation)
Parameters
pen PdfPen
PdfPen that determines the color, width, and style of the rectangle.
x Double
The x-coordinate of the upper-left corner of the rectangle to draw.
y Double
The y-coordinate of the upper-left corner of the rectangle to draw.
width Double
Width of the rectangle to draw.
height Double
Height of the rectangle to draw.
ellipseWidth Double
Width of the ellipse that defines the rounded corners.
ellipseHeight Double
Height of the ellipse that defines the rounded corners.
rotation Double
Rotation of the rectangle around the upper-left corner.
DrawRoundRectangle(PdfBrush,Double,Double,Double,Double,Double,Double)
Fills the interior of rounded rectangle specified by a coordinate pair, a width, and a height.
public void DrawRoundRectangle(PdfBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight)
Parameters
brush PdfBrush
PdfBrush that determines the characteristics of the fill.
x Double
The x-coordinate of the upper-left corner of the rectangle to draw.
y Double
The y-coordinate of the upper-left corner of the rectangle to draw.
width Double
Width of the rectangle to draw.
height Double
Height of the rectangle to draw.
ellipseWidth Double
Width of the ellipse that defines the rounded corners.
ellipseHeight Double
Height of the ellipse that defines the rounded corners.
DrawRoundRectangle(PdfBrush,Double,Double,Double,Double,Double,Double,Double)
Fills the interior of rounded rectangle specified by a coordinate pair, a width, and a height.
public void DrawRoundRectangle(PdfBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight, double rotation)
Parameters
brush PdfBrush
PdfBrush that determines the characteristics of the fill.
x Double
The x-coordinate of the upper-left corner of the rectangle to draw.
y Double
The y-coordinate of the upper-left corner of the rectangle to draw.
width Double
Width of the rectangle to draw.
height Double
Height of the rectangle to draw.
ellipseWidth Double
Width of the ellipse that defines the rounded corners.
ellipseHeight Double
Height of the ellipse that defines the rounded corners.
rotation Double
Rotation of the rectangle around the upper-left corner.
DrawRoundRectangle(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double)
Draws and fills the interior of a rounded rectangle specified by a coordinate pair, a width, and a height.
public void DrawRoundRectangle(PdfPen pen, PdfBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight)
Parameters
pen PdfPen
PdfPen that determines the color, width, and style of the rectangle.
brush PdfBrush
PdfBrush that determines the characteristics of the fill.
x Double
The x-coordinate of the upper-left corner of the rectangle to draw.
y Double
The y-coordinate of the upper-left corner of the rectangle to draw.
width Double
Width of the rectangle to draw.
height Double
Height of the rectangle to draw.
ellipseWidth Double
Width of the ellipse that defines the rounded corners.
ellipseHeight Double
Height of the ellipse that defines the rounded corners.
DrawRoundRectangle(PdfPen,PdfBrush,Double,Double,Double,Double,Double,Double,Double)
Draws and fills the interior of rounded rectangle specified by a coordinate pair, a width, and a height.
public void DrawRoundRectangle(PdfPen pen, PdfBrush brush, double x, double y, double width, double height, double ellipseWidth, double ellipseHeight, double rotation)
Parameters
pen PdfPen
PdfPen that determines the color, width, and style of the rectangle.
brush PdfBrush
PdfBrush that determines the characteristics of the fill.
x Double
The x-coordinate of the upper-left corner of the rectangle to draw.
y Double
The y-coordinate of the upper-left corner of the rectangle to draw.
width Double
Width of the rectangle to draw.
height Double
Height of the rectangle to draw.
ellipseWidth Double
Width of the ellipse that defines the rounded corners.
ellipseHeight Double
Height of the ellipse that defines the rounded corners.
rotation Double
Rotation of the rectangle around the upper-left corner.