ImageEn, unit iexPdfiumCore

TPdfObject.PathFillMode

TPdfObject.PathFillMode


Declaration

property PathFillMode: TPdfFillMode;


Description

Specifies whether a closed path is filled (pfAlternate or pfWinding) or not (pfNone).

Note:
 An object is closed if its path terminates with a Closing Break ($FFFEE)
 You must call ImageEnView1.Invalidate() after setting the fill mode

Read/write


Example

// Remove the fill from the current path
ImageEnView1.PdfViewer.Objects[idx].PathFillMode := pfNone;
ImageEnView1.Invalidate();

// Which is the same as...
ImageEnView1.PdfViewer.Objects[idx].FillColor := TColor2TRGBA( clWhite, 0 );
ImageEnView1.Invalidate();


See Also

 FillColor
 GetPath
 GetTextFont
 LineCap
 LineJoin
 PathStrokeWidth
 StrokeColor
 StrokeWidth