TPdfWriter.DrawAndFillPolygon Method
Draws and/or fills a polygon. The shape will be closed.
Syntax
Unit: FlexCel.Pdf
procedure TPdfWriter.DrawAndFillPolygon(const aPen: TUIPen; const aBrush: TUIBrush; const aPoints: TArray<TUIPointF>);
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aPen | TUIPen | Pen for the outline. If null, no outline will be drawn. |
const | aBrush | TUIBrush | Brush for filling. If null, the shape will not be filled. |
const | aPoints | TArray<TUIPointF> | Array of points for the polygon. |