PocketPlanner Programmer's Guide

GraphicsEx.FillPolygon Method

See Also

Fills the interior of a polygon defined by an array of points specified by .NET Point structures.

Namespace: MindFusion.Drawing
Assembly: PocketPlanner

 Syntax

C#

public void FillPolygon (
    Brush brush,
    Point[] points
)

Visual Basic

Public Sub FillPolygon ( _
    brush As Brush, _
    points As Point() _
)

 Parameters

brush

A .NET System.Drawing.Brush object that determines the characteristics of the fill.

points
An array of .NET Point structures that represent the vertices of the polygon to fill.

 Remarks

Every two consecutive points in the array specify a side of the polygon. In addition, if the last point and the first point do not coincide, they specify the closing side of the polygon.

 See Also