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(
	PdfRGBColor color,
	float width
)
Public Sub New ( 
	color As PdfRGBColor,
	width As Single
)
public:
PdfPen(
	PdfRGBColor color, 
	float width
)
new : 
        color : PdfRGBColor * 
        width : float32 -> PdfPen

Parameters

color
PdfRGBColor
Color of the pen.
width
Single
Width of the pen's line.

See Also