PdfPen Class
Definition
Namespace: Xfinium.Pdf.Graphics
Defines a PDF pen.
Inheritance: Object → PdfPen
Remarks
The pen is used to stroke a path with a color.
Constructors
| Name | Description |
|---|---|
| PdfPen(PdfColor,Double) | Initializes a new PdfPen object. |
| PdfPen() | Initializes a new PdfPen object with a default RGB black color and a width of 1 point. |
| PdfPen(PdfPen) | Initializes a new PdfPen object with another pen. |
Properties
| Name | Description |
|---|---|
| Color | Gets or sets the pen color. |
| DashOffset | Gets or sets the dash offset. |
| DashPattern | Gets or sets the dash pattern. |
| LineCap | Gets or sets the line cap style. |
| LineJoin | Gets or sets the line join style. |
| Width | Gets or sets the pen width. |