ImageEn, unit iexPdfiumCore |
|
TPdfObject.PathStrokeWidth
Declaration
property PathStrokeWidth: Single;
Description
Returns the width of the current line (when
ObjectType is ptPath).
Note: PathStrokeWidth is similar to
StrokeWidth but it also checks whether the stroke is enabled (and returns 0 if not)
Read/write
Examples
// Set a thick red border for the current path object
ImageEnView1.PdfViewer.Objects[idx].PathStrokeWidth := 5;
ImageEnView1.PdfViewer.Objects[idx].StrokeColor := TColor2TRGBA( clRed, 255 );
ImageEnView1.Invalidate();
// Remove the border for the current path object
ImageEnView1.PdfViewer.Objects[idx].PathStrokeWidth := 0;
ImageEnView1.Invalidate();
See Also
◼ FillColor◼ GetPath◼ GetTextFont◼ LineCap◼ LineJoin◼ PathFillMode◼ StrokeColor◼ StrokeWidth