Share via


RenderPolygon Method

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

Renders a polygon.

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

Syntax

'Declaration
Protected Friend Overridable Sub RenderPolygon ( _
    bmp As Bitmap, _
    outline As Pen, _
    pts As Integer() _
)
protected internal virtual void RenderPolygon(
    Bitmap bmp,
    Pen outline,
    int[] pts
)
protected public:
virtual void RenderPolygon(
    Bitmap^ bmp, 
    Pen^ outline, 
    array<int>^ pts
)
abstract RenderPolygon : 
        bmp:Bitmap * 
        outline:Pen * 
        pts:int[] -> unit 
override RenderPolygon : 
        bmp:Bitmap * 
        outline:Pen * 
        pts:int[] -> unit 
 function RenderPolygon(
    bmp : Bitmap, 
    outline : Pen, 
    pts : int[]
)

Parameters

Exceptions

Exception Condition
NotSupportedException

Rendering a polygon is not supported with this brush.

.NET Framework Security

See Also

Reference

Brush Class

Microsoft.SPOT.Presentation.Media Namespace