ImageEn, unit iexLayers

TIELineLayer.EndShape

TIELineLayer.EndShape


Declaration

property EndShape: TIELineEndShape;


Description

Specifies the shape that is displayed at the end of the line.

Notes:
- The border width and color of the arrow will be the same as the line (i.e. specified by LineColor and LineWidth)
- The fill is specified by FillColor (Gradients are not supported)
- If a label is displayed and LabelPosition= ielpAtEnd, then the EndShape will not be shown

Default: ieesNone


Example

// Add yellow filled arrows and circle ends to our current line layer
TIELineLayer( ImageEnView1.CurrentLayer ).StartShape := ieesArrow;
TIELineLayer( ImageEnView1.CurrentLayer ).EndShape := ieesCircle;
TIELineLayer( ImageEnView1.CurrentLayer ).FillColor := clYellow;
TIELineLayer( ImageEnView1.CurrentLayer ).ShapeSize := 25;
ImageEnView1.Update();




// Add a curved arrow line layer
ImageEnView1.LayersAdd( Point( 100, 100), Point( 300, 100 ));
lineLayer := TIELineLayer( ImageEnView1.CurrentLayer );
lineLayer.StartShape := ieesArrow;
lineLayer.EndShape := ieesDot;
lineLayer.Curve := -1.0;
ImageEnView1.Update();





See Also

- StartShape
- ShapeSize