Share via


Pen Constructor (Color, UInt16)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the Pen class with the specified color and thickness.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub New ( _
    color As Color, _
    thickness As UShort _
)
public Pen(
    Color color,
    ushort thickness
)
public:
Pen(
    Color color, 
    unsigned short thickness
)
new : 
        color:Color * 
        thickness:uint16 -> Pen
public function Pen(
    color : Color, 
    thickness : ushort
)

Parameters

.NET Framework Security

See Also

Reference

Pen Class

Pen Overload

Microsoft.SPOT.Presentation.Media Namespace