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
- bmp
Type: Microsoft.SPOT. . :: . .Bitmap
The source bitmap.
- outline
Type: Microsoft.SPOT.Presentation.Media. . :: . .Pen
The pen to use for the outline.
- pts
Type: array<System. . :: . .Int32> [] () [] []
The points of the polygon.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Rendering a polygon is not supported with this brush. |
.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.