ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / SolidPen Class / SolidPen Constructor / SolidPen Constructor(Color,Int32,DashCap,LineJoin)
A Color indicates the color of the pen.
An int indicates the width of the pen.
A DashCap indicates the cap style of the pen.
A LineJoin indicates the join style of the pen.

In This Topic
    SolidPen Constructor(Color,Int32,DashCap,LineJoin)
    In This Topic
    Initializes a new instance of the SolidPen class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As Color, _
       ByVal width As Integer, _
       ByVal cap As DashCap, _
       ByVal join As LineJoin _
    )
    public SolidPen( 
       Color color,
       int width,
       DashCap cap,
       LineJoin join
    )

    Parameters

    color
    A Color indicates the color of the pen.
    width
    An int indicates the width of the pen.
    cap
    A DashCap indicates the cap style of the pen.
    join
    A LineJoin indicates the join style of the pen.
    See Also