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
- color
Type: Microsoft.SPOT.Presentation.Media. . :: . .Color
The color of the current pen
- thickness
Type: System. . :: . .UInt16
The thickness of the current pen, in pixels.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.