Table of Contents

Class XPen

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Defines an object used to draw lines and curves.

public sealed class XPen
Inheritance
object
XPen

Constructors

XPen(XColor)

Initializes a new instance of the XPen class.

XPen(XColor, double)

Initializes a new instance of the XPen class.

XPen(XPen)

Initializes a new instance of the XPen class.

Properties

Color

Gets or sets the color.

DashOffset

Gets or sets the dash offset.

DashPattern

Gets or sets the dash pattern.

DashStyle

Gets or sets the dash style.

LineCap

Gets or sets the line cap.

LineJoin

Gets or sets the line join.

MiterLimit

Gets or sets the miter limit.

Overprint

Gets or sets a value indicating whether the pen enables overprint when used in a PDF document. Experimental, takes effect only on CMYK color mode.

Width

Gets or sets the width.

Methods

Clone()

Clones this instance.