TPdfWriter.DrawAndFillBeziers Method
Draws and/or fills a bezier path. If Brush is not null, the shape will be closed for filling.
Syntax
Unit: FlexCel.Pdf
procedure TPdfWriter.DrawAndFillBeziers(const aPen: TUIPen; const aBrush: TUIBrush; const aPoints: TArray<TUIPointF>; const aClosePath: Boolean);
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 curve. See GDI+ DrawBeziers function for more information. |
const | aClosePath | Boolean | If true, the path will be closed. Note that a closed path is different from an open path with same start and end points, because the closed path won't have linecaps at the end. |