PdfSharp-WPF  1.31.7289
PdfSharp.Drawing.XPen Class Reference

Defines an object used to draw lines and curves. More...

Public Member Functions

 XPen (XColor color)
 Initializes a new instance of the XPen class. More...
 
 XPen (XColor color, double width)
 Initializes a new instance of the XPen class. More...
 
 XPen (XPen pen)
 Initializes a new instance of the XPen class. More...
 
XPen Clone ()
 Clones this instance. More...
 

Properties

XColor Color [get, set]
 Gets or sets the color. More...
 
double Width [get, set]
 Gets or sets the width. More...
 
XLineJoin LineJoin [get, set]
 Gets or sets the line join. More...
 
XLineCap LineCap [get, set]
 Gets or sets the line cap. More...
 
double MiterLimit [get, set]
 Gets or sets the miter limit. More...
 
XDashStyle DashStyle [get, set]
 Gets or sets the dash style. More...
 
double DashOffset [get, set]
 Gets or sets the dash offset. More...
 
double[] DashPattern [get, set]
 Gets or sets the dash pattern. More...
 

Detailed Description

Defines an object used to draw lines and curves.

Constructor & Destructor Documentation

◆ XPen() [1/3]

PdfSharp.Drawing.XPen.XPen ( XColor  color)

Initializes a new instance of the XPen class.

◆ XPen() [2/3]

PdfSharp.Drawing.XPen.XPen ( XColor  color,
double  width 
)

Initializes a new instance of the XPen class.

◆ XPen() [3/3]

PdfSharp.Drawing.XPen.XPen ( XPen  pen)

Initializes a new instance of the XPen class.

Member Function Documentation

◆ Clone()

XPen PdfSharp.Drawing.XPen.Clone ( )

Clones this instance.

Property Documentation

◆ Color

XColor PdfSharp.Drawing.XPen.Color
getset

Gets or sets the color.

◆ DashOffset

double PdfSharp.Drawing.XPen.DashOffset
getset

Gets or sets the dash offset.

◆ DashPattern

double [] PdfSharp.Drawing.XPen.DashPattern
getset

Gets or sets the dash pattern.

◆ DashStyle

XDashStyle PdfSharp.Drawing.XPen.DashStyle
getset

Gets or sets the dash style.

◆ LineCap

XLineCap PdfSharp.Drawing.XPen.LineCap
getset

Gets or sets the line cap.

◆ LineJoin

XLineJoin PdfSharp.Drawing.XPen.LineJoin
getset

Gets or sets the line join.

◆ MiterLimit

double PdfSharp.Drawing.XPen.MiterLimit
getset

Gets or sets the miter limit.

◆ Width

double PdfSharp.Drawing.XPen.Width
getset

Gets or sets the width.


The documentation for this class was generated from the following file: