BeginPolygon Method (RenderContextBase)
Begins a filled Polygon segment, returning the IPathDrawingContext. This is the fastest way to draw polygon and simply a proxy to FillArea method.
Syntax
public abstract IPathDrawingContext BeginPolygon( IBrush2D brush, double startX, double startY, double gradientRotationAngle )
Parameters
- brush
- The brush for the polygon fill
- startX
- The start X coordinate (pixel coord)
- startY
- The start Y coordinate (pixel coord)
- gradientRotationAngle
- The angle which the is rotated by
Return Value
The IPathDrawingContext to continue the polygon
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also