ImageEn, unit iexUserInteractions

TIECloneToolInteraction.SourcePoint

TIECloneToolInteraction.SourcePoint


Declaration

property SourcePoint: TPoint;


Description

Returns the pixel that the user clicked as a source for cloning (position within the bitmap). It is only valid if SourceSelected = True. If you set a source point, the user will not need to select it and instead the next click will commence cloning.

Note: Specifying a value for SourcePoint will set SourceSelected to true.


Example

// Set SourcePoint to 100,100. User can click to clone from this point
ImageEnView1.CloneTool.SourcePoint := Point( 100, 100 );


See Also

- SourceSelected
- Cancel