Class XPen
Defines an object used to draw lines and curves.
public sealed class XPen
- Inheritance
-
XPen
- Inherited Members
Constructors
XPen(XColor)
Initializes a new instance of the XPen class.
public XPen(XColor color)
Parameters
color
XColor
XPen(XColor, double)
Initializes a new instance of the XPen class.
public XPen(XColor color, double width)
Parameters
XPen(XPen)
Initializes a new instance of the XPen class.
public XPen(XPen pen)
Parameters
pen
XPen
Properties
Color
Gets or sets the color.
public XColor Color { get; set; }
Property Value
DashOffset
Gets or sets the dash offset.
public double DashOffset { get; set; }
Property Value
DashPattern
Gets or sets the dash pattern.
public double[] DashPattern { get; set; }
Property Value
- double[]
DashStyle
Gets or sets the dash style.
public XDashStyle DashStyle { get; set; }
Property Value
LineCap
Gets or sets the line cap.
public XLineCap LineCap { get; set; }
Property Value
LineJoin
Gets or sets the line join.
public XLineJoin LineJoin { get; set; }
Property Value
MiterLimit
Gets or sets the miter limit.
public double MiterLimit { get; set; }
Property Value
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.
public bool Overprint { get; set; }
Property Value
Width
Gets or sets the width.
public double Width { get; set; }
Property Value
Methods
Clone()
Clones this instance.
public XPen Clone()