ImageEn, unit iexPdfiumCore |
|
TPdfObject.FillColor
Declaration
property FillColor: TRGBA;
Description
Specify the fill color for a path that is closed (when
ObjectType is ptPath) and text.
Note:
◼Ensure you check whether the object is
filled or not
◼An object is closed if its
path terminates with a Closing Break ($FFFEE)
Read/write
// Fill the current path with Blue
ImageEnView1.PdfViewer.Objects[idx].FillColor := TColor2TRGBA( clBlue, 255 );
// Remove the fill from the current path
ImageEnView1.PdfViewer.Objects[idx].FillColor := TColor2TRGBA( clWhite, 0 );
// Which is the same as...
ImageEnView1.PdfViewer.Objects[idx].PathFillMode := pfNone;
See Also
◼GetPath◼GetTextFont◼LineCap◼LineJoin◼PathFillMode◼PathStrokeWidth◼StrokeColor◼StrokeWidth◼TColor2TRGBA