Click or drag to resize

PdfPen Class

A class defining settings for drawing operations.
Inheritance Hierarchy
System Object
Spire.Pdf.Graphics PdfPen

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfPen : ICloneable

The PdfPen type exposes the following members.

Constructors
Name Description
Public method PdfPen(PdfBrush)
Initializes a new instance of theclass.
Public method PdfPen(PdfComplexColor)
Initializes a new instance of theclass.
Public method PdfPen(PdfRGBColor)
Initializes a new instance of theclass.
Public method PdfPen(PdfBrush, Single)
Initializes a new instance of theclass.
Public method PdfPen(PdfRGBColor, Single)
Initializes a new instance of theclass.
Top
Properties
Name Description
Public property Brush
Gets or sets the brush, which specifies the pen behaviour.
Public property Color
Gets or sets the color of the pen.
Public property DashOffset
Gets or sets the dash offset of the pen.
Public property DashPattern
Gets or sets the dash pattern of the pen.
Public property DashStyle
Gets or sets the dash style of the pen.
Public property LineCap
Gets or sets the line cap of the pen.
Public property LineJoin
Gets or sets the line join style of the pen.
Public property MiterLimit
Gets or sets the miter limit.
Public property Width
Gets or sets the width of the pen.
Top
Methods
Name Description
Public method Clone
Clones this instance.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also