Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfPen(
	PdfBrush brush,
	float width
)
Public Sub New ( 
	brush As PdfBrush,
	width As Single
)
public:
PdfPen(
	PdfBrush^ brush, 
	float width
)
new : 
        brush : PdfBrush * 
        width : float32 -> PdfPen

Parameters

brush
PdfBrush
The brush.
width
Single
Width of the pen's line.

See Also