ImageEn, unit iegdiplus

TIECanvas.DrawLinesPath

TIECanvas.DrawLinesPath


Declaration

procedure DrawLinesPath(Points: TIEDPointArray);


Description

Draw a series of lines using a point array.

GDI+ Methods: GdipCreatePath, GdipAddPathLine, GdipDrawPath, GdipDeletePath


Example

SetLength( pts, 4 );
pts[0] := DPoint( drawRight, drawTop );
pts[1] := DPoint( drawRight + drawSize, drawTop + drawHeight div 2 );
pts[2] := DPoint( drawRight, drawTop + drawHeight );
pts[3] := DPoint( drawRight, drawTop );
with ImageEnView1.IEBitmap.IECanvas do
  DrawLinesPath( pts );
ImageEnView1.Update();


See Also

 Polyline
 Polygon
 AdvancedDrawPolyline